Recommended Servers for MySQL
The world's most popular open source database
Contact a MySQL Representative
Login | Register
In some implementations, readdir_r() is broken. The symptom is that the SHOW DATABASES statement always returns an empty set. This can be fixed by removing HAVE_READDIR_R from config.h after configuring and before compiling.
readdir_r()
SHOW DATABASES
HAVE_READDIR_R
config.h