I managed to make MySQL 5.6 work with Plesk 11.5, with a bit of effort. Here's how.
First blacklist mysql-* from Remi repo (if you are using it):
Code:
vim /etc/yum.repos.d/remi.repo
... adding exclude=mysql-* to [remi] section. Then add MySQL official repository to yum:
Code:
rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm
The repository will be enabled by default and configured to install MySQL 5.6.
Then actually update mysql, locate my.cnf.rpmnew file, merge changes to /etc/my.cnf and remove the flag STRICT_TRANS_TABLES:
Code:
service mysqld stop
yum update
updatedb
locate -r .rpmnew$
vim -d /etc/my.cnf.rpmnew /etc/my.cnf
Then start the service and use mysql_update to update existing databases:
Code:
service mysqld start
mysql_upgrade -uadmin -p`cat /etc/psa/.psa.shadow`
Finally fix ODBC settings (/etc/odbcinst.ini will use /usr/lib64/libmyodbc5.so that doesn't exist). I don't know why by when using mysql-connectors-odbc from MySQL official repository the library driver /usr/lib64/libmyodbc5.so is missing (splitted in ansi/unicode drivers). Fix it with a symbolic link:
Code:
ln -s /usr/lib64/libmyodbc5w.so /usr/lib64/libmyodbc5.so
If you try to add a subscription right now (or access "Application Vault" under Plesk settings) you'll get an error: ODBC can't connect using socket /tmp/mysql.sock (see:
http://forum.parallels.com/showthre...C-5-3(w)-Driver-Can-t-connect-to-local-MySQL). Again, I don't know what's changed in mysql-connectors-odbc but you can fix with a symbolic link:
Code:
ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock
You'll end up with a fully working MySQL 5.6 installation.