Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
chore: add mysql8 upgrade instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mumarkhan999 committed Oct 5, 2023
1 parent fa758e4 commit 4377f13
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions docs/manual_upgrades.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,45 @@ Please add new instructions to the top, include a date, and make a post in the `

(If you just need to update your devstack to the latest version of everything, see :doc:`updating_devstack`.)

2023-10-05 - MySQL upgrade from version 5.7 to 8.0
**************************************************

The MySQL service has been upgraded from version 5.7 to 8.0. Developers will need to follow the following instructions.

1. First, you need to stop the running containers ::

make dev.stop

2. Take latest ``git pull`` of ``devstack`` and ``edx-platform``
3. Take the latest pull of images ::

make dev.pull

4. Run provisioning command ::

make dev.provision

5. [Optional] Additionally, there is a database copy command to help you transfer data from MySQL 5.7 to 8.0. After provisioning use the following command ::

make dev.dbcopyall8

This command copies the following databases:

- credentials
- discovery
- ecommerce
- registrar
- notes
- edxapp
- xqueue
- edxapp_csmh
- dashboard
- analytics-api
- reports
- reports_v1

If you prefer not to copy all databases, update ``DB_NAMES_LIST`` in the ``Makefile`` of devstack before running the dbcopy command.

2023-08-02 - Forum upgrade from Ruby 2 to 3
*******************************************

Expand Down

0 comments on commit 4377f13

Please sign in to comment.