PDA

View Full Version : Where is the db?


runamok
04-09-2003, 04:17 AM
Where does MySQL store the actual db(s) on Linux?

raf
04-09-2003, 02:31 PM
normally, thats in `/usr/local/var' but you can make sure by checking the congigurationfile

more info
http://www.mysql.com/doc/en/configure_options.html

runamok
04-09-2003, 05:40 PM
Nope. I don't even have a var in my /usr/local/.

Where is the configuration file and what is it called?

Nightfire
04-09-2003, 11:43 PM
I was wondering this too. I found a directory called 'db' in the file:/var but it appears to be empty

raf
04-10-2003, 08:28 AM
I'll take a look on my machine this evening.

raf
04-10-2003, 07:57 PM
its in mysql\data\databasename