Search code examples
moodlebitnami

How to upgrade MySQL in a Bitnami Moodle stack?


I have a Bitnami Moodle stack I use for local development. When I upgraded the Moodle version to 2.8.1, which is the current production version, the Moodle install page says I need to upgrade from MySQL 5.5.21 to 5.5.31.

Is there a way to simply upgrade MySQL within the existing Bitnami Moodle Stack?


Solution

  • Bitnami developer here,

    Bitnami stacks contain everything you need to run the application. That way, all of the Bitnami-packaged applications you want to run will share a single instance of Apache, MySQL, PHP, etc which will save space and improve performance.

    The best way to upgrade all Moodle Stack components (PHP, MySQL, Apache…) it's explained in the link below: https://wiki.bitnami.com/Applications/BitNami_Moodle#How_to_migrate_your_Moodle_installation.3f

    It is strongly recommended that you create a backup before starting the update process. If you have important data, it is advisable that you create and try to restore a backup to ensure that everything works properly.

    I hope it helps