MySql DB vanished after restart

Posted:
in Genius Bar edited January 2014
I restarted my system (osx) and when i startem mysql again the database that i was working on was not there. Am i missing some thing stupid? How could it just not be there?



-AG

Comments

  • Reply 1 of 1
    toweltowel Posts: 1,479member
    What exactly do you mean when you say it wasn't there?



    If you tried to log into MySQL and it said it couldn't connect, you need to start up the MySQL daemon with mysqld_safe first. If you logged in and couldn't find your database with "show databases", maybe you have multiple copies of MySQL installed, and the wrong one auto-started at boot? Have you recently upgraded versions? MySQL shouldn't just lose data, so my guess would be it's one of those two things.
Sign In or Register to comment.