- Newest
- Most votes
- Most comments
Thanks for your answer. We are running Ubuntu 20.04 LTS But the MySQL Database is a lightsail database , ie it is not installed on the Ubuntu server. Those instructions are telling me how to upgrade a locally installed MySQL server aren' t they?
What OS does Lightsail use?
The procedure differs on Ubuntu and CentOS.
Check the operating system with the following command.
sudo cat /etc/os-release
Once the OS is confirmed, please prepare for the upgrade.
Also, be sure to create a snapshot of Lightsail before performing this procedure.
https://dev.mysql.com/doc/refman/8.0/en/upgrade-prerequisites.html
If your OS is CentOS or similar, please follow the document below.
https://dev.mysql.com/doc/refman/8.0/en/updating-yum-repo.html
If your OS is Ubuntu or other operating system, follow the documentation below.
https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-upgrading
Relevant content
- asked 3 years ago
Yes. This is the procedure for upgrading a locally installed MySQL. The following procedure is for migrating from MySQL 5.6 to 5.7, but almost the same procedure can be used for migrating to 8.0. https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-migrate-mysql-56-to-newer-database
Oh I see. So we must create a new Lightsail DB instance and manually migrate our databases ? Whew. ok. Thanks.