Well,
Check that mysqld is running and that the socket: '/tmp/mysql.sock'
exists.
Neil Mussett wrote:
>
> >Description:
> I cannot use the application because of socket problems. This
> problem occurs with both the binary and source versions. I get the
> following error:
>
> [localhost:/usr/local/mysql] root# ./bin/mysqladmin -u root -p
> password 'g7ioyhe'
> Enter password:
> ./bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)'
> Check that mysqld is running and that the socket:
> '/tmp/mysql.sock' exists
>
> >How-To-Repeat:
> This error occurs any time I try to use mysql.
> >Fix:
> n/a
>
> >Submitter-Id:
> >Originator: System Administrator
> >Organization:
>
> >MySQL support: none
> >Synopsis: Unable to use application - socket problems
> >Severity: critical
> >Priority: high
> >Category: mysql
> >Class: support
> >Release: mysql-3.23.27-beta (Source distribution)
>
> >Environment:
> System: Darwin localhost 1.3 Darwin Kernel Version 1.3: Thu Mar 1
> 06:56:40 PST 2001;
> root:xnu/xnu-123.5.obj~1/RELEASE_PPC Power Macintosh powerpc
>
> Some paths: /usr/bin/perl /usr/bin/make /usr/bin/cc
>
> Compilation info: CC='cc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS=''
> LIBC:
>
> lrwxr-xr-x 1 root wheel 15 Mar 24 12:50 /usr/lib/libc.dylib ->
> libSystem.dylib
> Configure command: ./configure
>
> ---------------------------------------------------------------------
---------------------------------------------------------------------
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