LARAGON – Update MySQL

1. Introduction

In Laragon, updating MySQL to its latest version is easy.

Just download the new version, unpack it into the right folder and select the new version in the Laragon menu.

2. Notice

Be sure your Windows 10 or 11 (64 bit) OS has the latest Visual C++ Redistributable for Visual Studio 2015-2022 installed.

3. Backup databases

As always, backup all your databases before starting any manipulations!

4. Laragon - Updating MySQL

  • Download the latest Community Server (x86, 64-bit) MySQL version as a ZIP archive from dev.mysql.com into your \Downloads\ folder.
  • The packed file is named for instance mysql-8.0.32-winx64.zip.
  • Unpack the downloaded ZIP archive in a folder with the same name, for instance mysql-8.0.32-winx64.
  • Move the complete \mysql-8.0.32-winx64\ folder to the \bin\mysql\ folder of your Laragon installation.
  • In the MySQL section, stop the MySQL service.
  • Then select the newly installed MySQL version.
  • Restart the MySQL service.
  • If not needed anymore, you can now remove any previous versions by removing their folder from \bin\mysql\.

5. MySQL Reset root password

In case you ever forget the root user password, Laragon provides an easy way to reset it.

  • In the menu, select MySQL Reset and generate a random password to root.

The default user for any fresh installed database driver is username root with no password.

4 Comments

  1. You’re the man! For me, you are the official Laragon documentation. I’m very grateful for your great work.

  2. Thanks a lot for the guide, helped exactly with upgrading mysql from 5.7 to 8.0 on laragon!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.