I’m just getting up and running, using DarwinPorts and encountered a
MySQL error when trying to install. Would appreciate any insight any of
you might be able to offer to resolve this. I’m trying to install the
MySQL Native Bindings for a performance boost on the MySQL adaptor.
The specific tutorial I’m following is as follows:
Many thanks in advance.
Here’s an output of my terminal session:
Anthony-Bakers-Computer:/opt AnthonyBaker$ sudo mysql_install_db5
Installing all prepared tables
/opt/local/libexec/mysqld: Too many arguments (first extra is ‘sudo’).
Use --help to get a list of available options
Installation of system tables failed!
Examine the logs in /opt/local/var/db/mysql5 for more information.
You can also try to start the mysqld daemon with:
/opt/local/libexec/mysqld --skip-grant &
You can use the command line tool
/opt/local/lib/mysql5/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /opt/local/lib/mysql5/bin/mysql -u root mysql
mysql> show tables
Try ‘mysqld --help’ if you have problems with paths. Using --log
gives you a log in /opt/local/var/db/mysql5 that may be helpful.
The latest information about MySQL is available on the web at
Please consult the MySQL manual section: ‘Problems running
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the