Edwin, Monday, October 07, 2002, 1:09:37 PM, you wrote: >>>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. >>> >> >>Unfortunately, all of your advice is probably not germane to the problem. Does the >file "/tmp/mysql.sock" exist? If so, the >>easiest thing to do is to "ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock". >> ER> Thanks for the inputs.
ER> There is no file /tmp/mysql.sock to link. In fact what is more bothering ER> me is the file [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>. ER> This is not found in the path /var/lib/mysql. Is it OK? ER> And also when I boot my system the mysql daemon starts but immediately ER> it ends up. MySQL server is not running, that why you get error "can't connect .." ER> Does any one have a guess of what's wrong. I am also going ER> to post this to a linux group, may be I think that wud be the right ER> place for this kinda of problem (not sure either) Take a look into MySQL data dir, you can find <host_name>.err there. Is there any causes of failed start in the error log? -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- 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