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
Related Q & A:
- Where is my Code First database?Best solution by Stack Overflow
- Where do I initialize a database?Best solution by Stack Overflow
- Where can I keep a database?Best solution by Stack Overflow
- Where can I store music files on the Internet?Best solution by Yahoo! Answers
- Are there any websites where we can store all our files and pics online for free?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.