How to fix root password problem ?
Posted: Sun May 29, 2011 4:11 pm
Hello,
I just reinstalled snow leopard and am having some problems logging into mysql now.
Does anyone know the answer to this problem ?
Below is what happens when I try to login through terminal
Last login: Mon May 30 06:09:35 on ttys000
reg:~ regellis$ /Library/StartupItems/MySQLCOM/MySQLCOM start;
Starting MySQL database server
reg:~ regellis$ mysql;
-bash: mysql: command not found
reg:~ regellis$ /usr/local/mysql/bin/mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
reg:~ regellis$
Below is what happens when I try to view the directory/folder
When I try to "go to" "/usr/local/mysql/bin/mysql" a message pops up
The folder “mysql” can’t be opened because you don’t have permission to see its contents.
I always log into my mac as administrator…………
I just reinstalled snow leopard and am having some problems logging into mysql now.
Does anyone know the answer to this problem ?
Below is what happens when I try to login through terminal
Last login: Mon May 30 06:09:35 on ttys000
reg:~ regellis$ /Library/StartupItems/MySQLCOM/MySQLCOM start;
Starting MySQL database server
reg:~ regellis$ mysql;
-bash: mysql: command not found
reg:~ regellis$ /usr/local/mysql/bin/mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
reg:~ regellis$
Below is what happens when I try to view the directory/folder
When I try to "go to" "/usr/local/mysql/bin/mysql" a message pops up
The folder “mysql” can’t be opened because you don’t have permission to see its contents.
I always log into my mac as administrator…………