• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Upgrading MySQL to 5.5.19

C

ChrisCross

Guest
Sorry if this gets asked a lot; but need to upgrade MySQL to latest version. Can i Just upgrade or will it break Plesk??
Has anyone done this yet and it's worked? i am on Centos5 running on a 1and1 VPS. Just trying to upgrade to 10.3.1 at the moment and it's taking some time :|
 
MySQL 5.5.19 will function normal at Plesk 10.3.
It is safe to upgrade if you want too.

Commands:
1. Use mysqldump to dump your database
Code:
mysqldump -h localhost –all-databases -uadmin -p > /root/dump.sql
2. Backup whole server
3. Check all databases and fix errors
Code:
mysqlcheck –all-databases -af -uadmin -p
4. Upgrade MySQL
Code:
$ yum upgrade mysql
5. Execute upgrade command for database
Code:
mysql_upgrade -h localhost -uadmin -p
6. Check after upgrade the databases
Code:
mysqlcheck –check-upgrade –all-databases -uadmin -p
For a daily maintenance you could use "crontab -e" as ROOT and insert
Code:
[B]0    1    *    *    *    mysqlcheck –all-databases -ao -uadmin -p`cat /etc/psa/.psa.shadow` > /dev/null 2>&1[/B]
 
Last edited by a moderator:
Back
Top