Why Can't I find my databases from Mysql on linux?

Where does MySQL store its database?

  • In any operating system, but especially Linux, where does MySQL store all the databases? If in Linux, which directory is the data stored in? I want to create a database server but want to make sure that I get a separate hard drive for all the MySQL data. Therefore, if I know exactly where the data is stored, I can store that directory on a separate (bigger) hard drive.

  • Answer:

    Mysql keep its data in /var/lib/mysql folder incase you feel to reinstall the mysql you can allways copy this files using cp -rvp * to some folder keeping its permissions same and then you can reinstall mysql and move these files to /var/lib/mysql folder. any more help buzz me at [email protected] kshounish

hamzalam at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.