Re: Going insane. help with install.
O.k. I re-initialized the database (I think) using the directions at
http://www.entropy.ch/software/macosx/mysql/ . I then went into the terminal and tried to start up the database, then test it.
When I tried to test it I recieved an error:
/usr/local/mysql/bin/mysql test
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[1] + Done sudo ./bin/mysqld_safe
[127:/usr/local/mysql] mattmiku%
Her is all the terminal commands:
Last login: Fri Sep 17 18:51:31 on ttyp1
Welcome to Darwin!
[127:~] mattmiku% cd /usr/local/mysql
[127:/usr/local/mysql] mattmiku% sudo chown -R mysql data/
Password:
[127:/usr/local/mysql] mattmiku% sudo echo
[127:/usr/local/mysql] mattmiku% sudo ./bin/mysqld_safe &
[1] 1208
[127:/usr/local/mysql] mattmiku% Starting mysqld daemon with databases from /usr/local/mysql/data
040917 19:30:16 mysqld ended
/usr/local/mysql/bin/mysql test
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[1] + Done sudo ./bin/mysqld_safe
[127:/usr/local/mysql] mattmiku%