I get the following error while trying to create the following database

mysql mysql < zm_cre­ate.sql.in
ERROR 1044 (42000): Access denied for user ''@'­loc­al­host' to database
'mysql'

I tried to run the following script

/usr/bin/mysql_in­stall_db --user­=mysql

It does not create mysql database in the correct directory I still only see
the 2 databases

/us­r/bin/mysqlshow
+-----------+
| Databases |
+-----------+
| test      |
+-----------+

Thanks

Reply via email to