Mysql Database Access
I think i have the solution to your problem, cause a few minutes ago, I was installing mysql and i had the same problem.
The matter is file rights. if you do an ls -l in the mysql directory, you will see that there is no access from the user to that directory
when u set file rights, you should also set file rights to the files that are in "data" directory. for example, to host.frm. this may be done doing chmod 777 *.* (this is the easiest way, not the one i recommend, for security questions).
hope this help!