Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

[Solved] Share MySQL data (move data folder)
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Databases
View previous topic :: View next topic  
Author Message
Locomotion



Joined: 03 Oct 2006
Posts: 1

Posted: Tue Oct 03, 2006 6:41 pm    Post subject: [Solved] Share MySQL data (move data folder)  

Hello

I have windows in C:, and another partition, in F:
Also my linux partitions...
Sice C: is NTFS, Linux can not modify this partition...
So I want to move "htdocs" folder and MySQL data folder to F: (fat32)
To run the same site in Linux and Windows

The htdocs was easy, just changed:
DocumentRoot "F:/server/www/"
In httpd.config, under config folder in apache folder.


But now, I want to move the data folder of MySQL to "F:/server/mysql/"


Resume: Where I can change the MySQL config to set the data folder in "F:/server/mysql/", and not "C:/apache2triad/mysql/data"

ps: Sorry, english is not my 1st language :P


EDIT: I found it, the file to change is my.ini, under windows folder
Back to top  
Joshua Meadows (DemoRic)



Joined: 29 Dec 2004
Posts: 785
Location: S.E. Kansas

Posted: Sun Oct 15, 2006 2:22 am    Post subject:  

thanks for posting your fix.
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Databases
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group