mysql> show databases;
ERROR 1018 (HY000): Can't read dir of '.' (errno: 13)
I have installed the mysql-server using
apt-get install mysql-server as root.
If I issue command to use other database than mysql it is working properly
mysql> use mysql;
ERROR 1049 (42000): Unknown database 'mysql'
what the issue please help.
MySQL may be installed, but no database inside (altough it’d be weird).
Try to issue mysql_install_db.
Check this out: http://dev.mysql.com/doc/refman/5.1/en/unix-postinstallation.html