>Description:
mysql couldn't find the lockfile, so i stopped and reinstalled it. since then
i can't connect, error message:
[root@primergy mysql-3.23.42]# /usr/local/mysql/current/bin/safe_mysqld
Starting mysqld daemon with databases from /var/mysql/data
010919 18:55:04 mysqld ended
[root@primergy mysql-3.23.42]# /usr/local/mysql/current/bin/mysqladmin -u root
password 'geheim'
/usr/local/mysql/current/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
file /tmp/mysql.sock doesn't exist, touch'ing it doesn't help. found out it had mode
srwxrwxrwx and was empty. i have no idea how to fix that. did make (all install)
several times but didn't help.
system: p200, 32mb, linux from scratch 3.0-pre4
configure line: ./configure --prefix=/usr/local/mysql/3.23.42
--localstatedir=/var/mysql/data
>How-To-Repeat:
no idea
>Submitter-Id: <submitter ID>
>Originator: SubWorx
>Organization: none
>MySQL support: email support?
>Synopsis: problem with socket
>Severity: critical
>Priority: high
>Category: mysql
>Class: support
>Release: mysql-3.23.42 (Source distribution)
>Environment:
System: Linux primergy 2.4.8 #1 SMP Fri Sep 14 18:34:05 CEST 2001 i586 unknown
Architecture: i586
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2.1/specs
gcc version 2.95.2.1 19991024 (release)
Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Sep 14 08:46 /lib/libc.so.6 -> libc-2.2.1.so
-rwxr-xr-x 1 root root 4838865 Sep 14 08:45 /lib/libc-2.2.1.so
-rw-r--r-- 1 root root 24160798 Sep 14 08:39 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Sep 14 08:39 /usr/lib/libc.so
Configure command: ./configure --prefix=/usr/local/mysql/3.23.42
--localstatedir=/var/mysql/data
---------------------------------------------------------------------
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