Different Data Dir for different MySQL versions

  • | 58 points

    I have 2 projects that use 2 different versions of MySQL. So I want to setup 2 different Data Dir for Laragon. Is it a way to switch the data dir automatically when I switch the MySQL version?

    Thanks in advance for your help.

  • administrators
    | 132054 points

    @PatBriPerso : If you are using Laragon 3.3+, you can use this trick:

    • Rename 1 MySQL to mysql-8.0.temp, Laragon should create a datadir C:\data\mysql-8 for it.

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.