Help with make new path for db

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Help with make new path for db

Postby nomadesign » 07. September 2007 15:03

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
nomadesign
 
Posts: 8
Joined: 29. January 2007 16:35
Location: USA

Postby lyntuan » 09. September 2007 13:12

Try to use ampstart to start Xampp. Edit ampstart.ini

[MYSQL]
folder=\your\DB\dir
Last edited by lyntuan on 26. December 2008 13:49, edited 1 time in total.
AMPstart :: Launch a Portable Web Server
http://ampstart.com
----------------------------------------------------------
Please read Disclaimer section carefully before downloading
lyntuan
 
Posts: 104
Joined: 08. November 2006 00:21

Postby outlaw » 09. September 2007 20:12

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"
outlaw
 
Posts: 18
Joined: 08. June 2007 23:01


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 131 guests