hi,
I installed Lamp on Ubuntu 14, but i need mysql 5.7 to be installed.
Could anyone give an advice? Many thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi guys!
I’m just facing the same problem, need to upgrade a large mysql installation to 5.7. Everywhere they say that you need to upgrade to 5.6 before. Maybe that isn’t necessary? Thanks:
Andras
Here’s what I did:
wget http://dev.mysql.com/get/mysql-apt-config_0.6.0-1_all.deb
sudo dpkg -i mysql-apt-config_0.6.0-1_all.deb
sudo apt-get update
sudo apt-get install mysql-server-5.7
trevorg and vijayoncomet1’s solution worked for me without any issues, thanks.
I also had to run a mysql_upgrade command to get everything working afterwards (mysqldump was throwing up an error without doing so).
In total, here’s what I did (where ‘root’ is whatever your mysql user is):
wget http://dev.mysql.com/get/mysql-apt-config_0.6.0-1_all.deb
sudo dpkg -i mysql-apt-config_0.6.0-1_all.deb
sudo apt-get update
sudo apt-get install mysql-server
mysql_upgrade -u root -p --force
I also needed to restart mysql after doing the above. Here’s how I did so on my machine:
sudo service mysql restart
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.