I get this error when I try to gte to mysql,
# mysql -u root -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Now there is no mysql.sock in /tmp. I have a mysql running on another server which does have a /tmp/mysql. But when I opne it, it seems to be empty and read only. When I try to copy it, Iget,
cp: cannot open `/tmp/mysql.sock' for reading: No such device or address
Well that pretty much means thatg I simply canot copy somebody else's mysql.sock from another server to this servre.
But what should I do about this.
Please advise.
# mysql -u root -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Now there is no mysql.sock in /tmp. I have a mysql running on another server which does have a /tmp/mysql. But when I opne it, it seems to be empty and read only. When I try to copy it, Iget,
cp: cannot open `/tmp/mysql.sock' for reading: No such device or address
Well that pretty much means thatg I simply canot copy somebody else's mysql.sock from another server to this servre.
But what should I do about this.
Please advise.