possible bug: can't change mysql datadir


  • | 176 points

    I can't change mysql datadir,
    Laragon always creates a new directory called "Mariadb".
    example:
    in setting / preferences, I add the custom "data dir"
    d: \ mysqldata
    then Laragon automatically adds
    d: \ mysqldata \ mariadb
    etc.
    is the "datadir" folder required to use the name "mariadb"?

    • note: I also tried changing the mysql my.ini config,
      but it didn't work Laragon automatically changed the dir data again "../maraidb"

    I use

    • Windows 10
    • laragon .zip portable
    • mariadb latest version
    • nginx

    many thanks for this great product...


  • administrators
    | 112819 points

    @masterseoonline : Yes, Laragon has database switch feature: you can switch between MariaDB & MySQL versions. The subdir is to prevent data collision.


  • | 176 points

    solved: thanks for quick replay
    maybe on the first try I was lucky, I could put the database data in "custom_folder"
    I have never turned off my PC for months,
    when I restarted for the first time I thought my database was missing.
    it turns out that's the reason ...
    thank you everything is clear now


Log in to reply
 

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