Forum Moderators: travelin cat
[Charlton:/usr/local/mysql] lukicd% sudo ./scripts/mysql_install_db
Neither host 'Charlton.net.abc.com' and 'localhost' could not be looked up with
./bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
[Charlton:/usr/local/mysql] lukicd%
Much appreciated!
(When
sudo failed, did it report something about you not being in the sudoers file? If so, that's what's going on.) To get Administrator access, you can either log into Mac OS X with an administrator account, or you can boot the Terminal and type:
login administratorname To make your life easier, you may want to consider using a text editor like jEdit or BBEdit to open your Apache config files.
[Charlton:/usr/local/mysql] lukicd% sudo ./bin/mysqld_safe&
[1] 490
[Charlton:/usr/local/mysql] lukicd% A mysqld process already exists
/usr/local/mysql/bin/mysql test
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.0.18-standard
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Now I want to create a database, not sure those information tell me mysql is running correctly?
Thanks.