I want to change my datadir for MariaDB. I mean I want to have all my file except data folder in
C:\Program Files\MariaDB
5.5 and my data file in
C:\user\appdata.
I don't want any data file in the first path (even my.ini). When I go in my command line, and execute
C:\Program Files\MariaDB 5.5\bin\mysqld
it doesn't work because I don't have any data folder in this path :
C:\Program Files\MariaDB 5.5.
I know that I have to change datadir in my.ini but the problem is : how can I change the default path to my.ini? I repeat, I don't want any data file in
C:\Program Files\MariaDB 5.5
If I can change this default path, then I will just have to change datadir. Thanks guys for your answers and sorry for my English :)