Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing mysql schema

Status
Not open for further replies.

williey

Technical User
Jan 21, 2004
242
I just install MySql 4.10 and I'm missing the mysql schema database.
The "mysql_install_db" command ran fine..

Code:
mysql> create database club
    -> ;
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'club'
mysql> show databases
    -> ;
+----------+
| Database |
+----------+
| test     |
+----------+
1 row in set (0.04 sec)
 
It looks like a permissions issue; maybe anonymous users can't create databases (which would be typical). Try connecting as root instaed.
 
Thanks! I got it to work now..

I reran mysql_install_db from the proper location and the necessary db and tables were created.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top