MySQL Forums
Forum List  »  Newbie

Change datadir for MySQL 5.6 on Windows XP
Posted by: Touko Djeumou
Date: May 03, 2013 02:32PM

Hello guys,

I need some help, please.

I want to change the data directory of my MySQL server (version 5.6) on windows XP. There is not a my.cnf file in my MySQL base folder and in c:\Windows. Even a search for all files containing the term "datadir" doesn't find that CNF file.
There is a CNF file (my-default.cnf) in the MySQL base folder. I have change the value of datadir inside but it doesn't have any effect. Indeed, I still obtain "C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.6\data" when I enter SHOW VARIABLES LIKE 'datadir' with mysql.

Any idea?

Thanks

Options: ReplyQuote


Subject
Written By
Posted
Change datadir for MySQL 5.6 on Windows XP
May 03, 2013 02:32PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.