Page 1 of 1
Where does MySQL store it database files
Posted: Wed Aug 22, 2012 7:28 am
by mister_v
Hi,
does anyone knowns where MySQL stores the database files?
Thanks,
Re: Where does MySQL store it database files
Posted: Wed Aug 22, 2012 3:47 pm
by chris
This is set by datadir in my.cf (/etc/mysql/my.cnf) in Linux,
or my.ini (C:\Program Files\MySQL\MySQL Server 5.1\my.ini) in Windows
Standard it is in Linux:
datadir = /var/lib/mysql
in Windows:
datadir="C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/"
Re: Where does MySQL store it database files
Posted: Sat Sep 01, 2012 9:05 pm
by mister_v
Thanks for the info