| Article: |
Apache Web-Serving With Mac OS X, Part 5 | |
| Subject: | MySQL won't start - one more thing | |
| Date: | 2002-03-13 18:32:08 | |
| From: | saywake | |
|
Response to: MySQL won't start
|
||
|
when I first run the mysql_install_db, I get this error: [localhost:/usr/local] root# ./bin/mysql_install_db Preparing db table Preparing host table Preparing user table Preparing func table Preparing tables_priv table Preparing columns_priv table Installing all prepared tables ERROR: 1062 Duplicate entry 'localhost-root' for key 1 ERROR: 1062 Duplicate entry 'localhost-root' for key 1 020313 21:26:36 /usr/local/libexec/mysqld: Shutdown Complete
|
||
Showing messages 1 through 2 of 2.
-
MySQL won't start - one more thing
2002-03-13 20:30:31 Morbus Iff |
[View]
The "Duplicate entry" error message isn't too worrisome - I saw it on my own machine initially as well. Basically, one of the things that the install_db script does is to give the local user (you) access to the database. This error message is saying you already have access to the database. It's nothing you're doing wrong, and the error message you reported in an earlier message wouldn't be affected by this. -
MySQL won't start - one more thing
2002-03-13 21:58:06 andycrim1 [View]
After reinstalling from source everything is now working. Thanks!


