Put MYSQL Database in other location
Posted: 21. April 2008 17:40
I am running XAMPP for Windows in a 6GB virtual machine with 1.5GB left. I would like to put the MYSQL databases on another drive (that I mapped as "V:"). I read on MYSQL's web site that I could change the database location by editing the My.cnf file as follows. Didn't work.
Any suggestions?
# The MySQL server
[mysqld]
port= 3306
socket= "C:/xampp/mysql/mysql.sock"
basedir="C:/xampp/mysql"
tmpdir="V:/xampp/tmp"
datadir="V:/xampp/mysql/data"
Many thanks in advance.
Any suggestions?
# The MySQL server
[mysqld]
port= 3306
socket= "C:/xampp/mysql/mysql.sock"
basedir="C:/xampp/mysql"
tmpdir="V:/xampp/tmp"
datadir="V:/xampp/mysql/data"
Many thanks in advance.