>My host is running 3.22.5 on a redhat. Im trying to log in and use the >LOAD command but I cant get past 'ERROR 2002: Can't connect to local >MySQL server through socket '/tmp/mysql.sock' (2).' > >I connecting remotely with putty and sshing in on port 22. at command >prompt I was told by host to "mysql -h localhost -u cbslink -p". It then >asks for my password, I enter it , then get the above error.
This really is a FAQ, please search the archive first.. remember to use google.com too.. If MySQL is running on the same server you would only need to: mysql -u cbslink -p But I don't think it will cause any error.. Anyway, the error could mean a few things, mysqld is not running (type ps -ax in your shell) or the mysql.sock file lives somewhere else. If this host is configured/supported/maintaned by your ISP you should contact them. If you have to maintain/solve it yourself you should be able to find the solution in the archive.. or using google. Bye, B. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php