Hi all Developers, i have an issue with logging in into the mysql client.
I use a mac Leopard osx so i “try” to access via the Terminal application, my MySql isn’t the one downloaded from the mysql website but its the Xamp package.
so ok, when i type /usr/local/mysql/bin/mysql
i get this error message:
“ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)”:
if i just type….mysql -u root -p: i get: command not found.
the thing is that if i try to log in through php script using the: mysql_connect() function, everithing works fine and i can access mysql successfully, but i need the client interface ?
there should not be any problem as mysql is running,
any help?
thank you