Supposed that the problem is that localstatedir is not having /usr/local/var
having a file mysql.sock. may be which is not started. give ps -e and
check for the process. if it is existing then killall mysqld. Then give
the command at /usr/local/bin/safe_mysqld --log --log-update & to send it to
background. Send mail if you have any further problem.
........ashwin
> Dear Frank,
> First of all, try to figure out have MYSQL daemon started.
> use
> # ps ax | grep mysql
> If it will show mysql process then try to run
> # /{path to mysql installation}/mysql_config --socket --port
>
> Reagrds,
>
> Ruslan O. Nesterov
> P.S. Try to read th manual it explains all troubles like it
>
> ----- Original Message -----
> From: "Franck ABELLI" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 11, 2001 4:13 PM
> Subject: Can't connect to local Mysql server (111)
>
>
> > hi,
> > i've Mysql installed on linux, binary install,
> > i launched the server : bin/safe_mysqld &
> > and if i try to connect to mysql ( mysql -u root -p mysql ) i get this
> > message :
> > Can't connect to local Mysql server (111)
> >
> > i tried : mysql -u root test but i get the same message.
> >
> > how to debug this ???
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
>
>
> ---------------------------------------------------------------------
> 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
>
>
---------------------------------------------------------------------
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