On Monday 07 October 2002 12:04, Edwin Raj wrote: > When I type mysql in the command prompt it is giving the error "ERROR > 2002: Can't connect to local MySql server through socket > '/var/lib/mysql/mysql.sock' (111)" > There is no file mysql.sock at that location???
Exactly. > What is the problem amd what should I do to make it run? I didn't > install MySql on my own and it was a default built on the OS installation. I don't know your installation in details, but I assume it is probably configured for TCP/IP connections only, so you would need the -h option. mysql -h my.computer.com -u me -pSecret If you try to connect with localhost, it again depends on your setup of the OS if that will work properly. Finally, the admin tables in the "mysql" database needs to be correctly setup, and again it should be done immediately at installation. If you follow the installation section in the MySQL manual, and connect over the full hostname, you will probably be ok. Niclas --------------------------------------------------------------------- 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