Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have reinstalled a MySQL 5.0instance to the same location (OS Windows XP), and afterwards, databases stored in /data/ folder become invisible by MySQL. How I can to make it visible again ? All databases are MyISAM type.

share|improve this question

migrated from Aug 14 '11 at 7:36

This question came from our site for professional and enthusiast programmers.

If you had made no changes to the data directory and did not overwrite the mysql directory there, all your databases would be visible and accessible. – Dan Grossman Aug 14 '11 at 6:47
up vote 2 down vote accepted

Have you tried changing the data directory setting in my.cnf to the location with all the data?

The variable you should be setting is datadir = /path/to/data/directory

You should probably restart the server once you have done that.

share|improve this answer
Thank you, it helps. – Alexey Khaydukov Aug 14 '11 at 7:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.