Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Where is Mysql holding the databases?

Where is Mysql holding the databases?
Thread Tools
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Jun 14, 2006, 02:39 PM
 
Like is there a real physical file somewhere with all of the tables ??

I just want to see it
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Jun 14, 2006, 05:08 PM
 
$MYSQL_DIR/data, where $MYSQL_DIR is most commonly /usr/local/mysql.
Note that the dir is owned by the mysql user, so you'll have to do
sudo -s
to become root in order to cd to the dir.
     
loren s  (op)
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Jun 16, 2006, 08:08 AM
 
neat ! It's all incoded ! Oh well at least I know where to root back it up if needed , thank you
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jun 16, 2006, 09:55 AM
 
Well, it's not encoded, it's stored in a binary format for obvious reasons (efficiency).

Remember not to back-up those files whilst mysql is running. If you want to back-up whilst mysql is running, there are other "hot" backup strategies that you can use. Further details are left as an exercise in Googling for the reader.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:18 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2