New answers tagged mysql
Before posting the answer, I would like to iterate that I asked my question here and here. As one might suggest, this question belongs in dba SE. But the reason I post it here is because it involves editing the configuration file in /etc/my.cnf. First Solution Edit the /etc/my.cnf to include the below parameters. The configuration file location might vary ...
Just came across this question. I ran into this problem on Fedora 20 and discovered, duhhhh, that I had installed the 32-bit version of mysql-workbench on 64-bit Fedora 20 instead of the 64-bit version. After uninstalling the 32-bit version: $ sudo yum remove mysql-workbench and installing the 64-bit version instead $ sudo yum localinstall ...
Try: iptables -t nat -A PREROUTING -p tcp -d <public IP> --dport 53306 -j DNAT --to-destination 127.0.0.1:3306 What this rule does is: -t nat indicate the nat table -A PREROUTING meaning append this rule to bottom of PREROUTING chain -p tcp specific this rule only apply for tcp protocol -d <public IP> --dport 53306 meaning match all traffic ...
You need to install mysql-server and mysql-shared Packages
It looks like you're installing MySQL from mysql.org and attempting to use stock PHP from RHEL6 with it. My advice is to stick to one distribution source for packages that are related/built off each other. In other words, RHEL6 PHP packages expect RHEL6 MySQL counterparts and vice versa. If you really need recent PHP/MySQL builds on CentOS/RHEL, I suggest ...
You can get PHP 5.3, 5.4 and 5.5 from IUS repos: https://iuscommunity.org/ There are detailed instructions on how to set this up here: Difficulty installing PHP from source to CentOS 6.4
Top 50 recent answers are included