Page 1 of 1

Help with make new path for db

PostPosted: 07. September 2007 15:03
by nomadesign
Hi Everyone:
I'm using XAMPP and I have built my db but I need to know if I can change the location of the db. I know its in the C:\Program Files\xampp\mysql\data files.
How do I change the dir. (path) so that I can have the db with the actually files of the website that I'm working on.
path to project would be
\\Mediaserv\k-drive\damon\abc.company\


thanks
nomad

PostPosted: 09. September 2007 13:12
by lyntuan
Try to use ampstart to start Xampp. Edit ampstart.ini

[MYSQL]
folder=\your\DB\dir

PostPosted: 09. September 2007 20:12
by outlaw
C:\Program Files\xampp/mysql/bin/my.conf

Code: Select all
# The MySQL server
[mysqld]
basedir="C:/Program Files/xampp/mysql"
tmpdir="C:/Program Files/xampp/tmp"
datadir="C:/Program Files/xampp/mysql/data"