Skip navigation links

MySQL Forums :: Newbie :: Where are the databases stored?!?


Advanced Search

Re: Where are the databases stored?!?
Posted by: Barry Galbraith ()
Date: August 03, 2010 04:06PM

mysql> select @@datadir;
+----------------------------------------------------------------+
| @@datadir                                                      |
+----------------------------------------------------------------+
| D:\Documents and Settings\b394382\My Documents\MySQL_5_1\data\ |
+----------------------------------------------------------------+
1 row in set (0.00 sec)

mysql>

There should be an entry in my.cnf for datadir.

Mine has the above path in it.

Good luck,
Barry.

Options: ReplyQuote


Subject Written By Posted
Where are the databases stored?!? Olivier de Broqueville 08/03/2010 02:37PM
Re: Where are the databases stored?!? Barry Galbraith 08/03/2010 04:06PM
Re: Where are the databases stored?!? Olivier de Broqueville 08/04/2010 03:51AM
Re: Where are the databases stored?!? Barry Galbraith 08/04/2010 03:52PM
Re: Where are the databases stored?!? Olivier de Broqueville 08/04/2010 10:15PM
Re: Where are the databases stored?!? Barry Galbraith 08/04/2010 10:35PM
Re: Where are the databases stored?!? davemike davemike 08/04/2010 05:17AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.