How to change mysql directory

Alles, was MariaDB und MySQL betrifft, kann hier besprochen werden.

How to change mysql directory

Postby prendes » 29. September 2007 02:41

I need to change /opt/lampp/var/mysql to /d/mysql as my mysql directory. I changed /opt/lampp/etc/my.cnf as follows:
socket = /d/mysql/mysql.sock
innodb_data_home_dir = /d/mysql/
innodb_log_group_home_dir = /d/mysql/
innodb_log_arch_dir = /d/mysql/

But it is not seeing since it continues to look at /opt/lampp/var/mysql after rebooting server.

Please let me know how I could do this
Thanks
prendes
 
Posts: 2
Joined: 29. September 2007 02:08

Problem Solved

Postby prendes » 29. September 2007 06:20

Please disregard my problem I found my problem. I forgot to uncomment skip-innodb. It's a nice product !
Prendes
prendes
 
Posts: 2
Joined: 29. September 2007 02:08


Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 2 guests