Skip to content

Upgrading to MySQL 8.x

Steve Ireland edited this page Jul 16, 2024 · 1 revision

Version 3.4 of MySQL will support the latest 8.x versions of MySQL.

If you are starting with a clean install then you need to make sure that the version of MySQL that you want to start with is installed and ready to use.

Important: If you are upgrading from an existing site that was using a 5.6 or 5.7 version of MySQL, then it is necessary that you first upgrade your existing site without changing your version of MySQL.

The migration will make the necessary database changes needed to make OSPOS compatible with MySQL 8.x.

After the upgrade is complete then you can upgrade the database. Then general steps are:

  1. Save your database.

  2. Export your database to an SQL script.

  3. Install the new version of MySQL 8.x

  4. If you were doing an "in place" upgrade then you should be okay. See https://dev.mysql.com/blog-archive/inplace-upgrade-from-mysql-5-7-to-mysql-8-0/ for "how to" information.

  5. If you are not doing "in place" (i.e. running multiple development/test environments), then import your data from the export script created in step 2.

Clone this wiki locally