Hi,
I followed this tutorial to set up Apache, MySQL and PHP: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6
However, that installed MySQL 5.1 and not the latest version.
Is there a way to upgrade the MySQL on my droplet to the latest version?
Thanks.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
@ Kamal, this is a bit late, but if you chance across this thread, here’s the output of the mysqld.log file:
Any pointers on how to proceed?
Thanks in advance.
I upgraded using this tutorial on DO: https://www.digitalocean.com/community/tutorials/how-to-install-mysql-5-6-from-official-yum-repositories
After installing, I typed in the following but MySQL wouldn’t start:
I even upgraded the droplet to 1 GB thinking that the newer mysql server version might require more RAM, but it doesn’t work.
Any help would be appreciated. There is no sudo in the command as I had escalated to su -
You can upgrade MySQL by installing the Remi repo:
and then installing the new MySQL package:
5.1 is the latest I see available from any of the usual yum repositories. If you want anything newer, you’ll have to build it yourself or find a repository hosting it.