||Apache Web-Serving With Mac OS X, Part 5|
|Subject:||Finally Got It to Work!|
Hello... after 2 days of struggling with this program, I finally got it to work! I even went so far as to reinstall MacOSX on my machine to start from scratch. What was the problem, and the subsequent solution? I kept getting the error message to the effect that "localhost cannot connect to MySql... or something close to that.
type "cd /usr/local/mysql"
type "sudo ./scripts/mysql_install_db", enter administrator password when asked
type "sudo chown -R mysql /usr/local/mysql/*"
type "sudo ./bin/safe_mysqld --user=mysql &"
Use it with "mysql test"