Description:
        MySQL is not properly configured for first run.

How-To-Repeat:
Run standard installation:
./configure
./make
su
./make install
exit
# (exit su)
mysql
-- mysql failed:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (111)
/usr/local/libexec/mysqld
-- mysqld failed:
Warning: Can't create test file /usr/local/var/arkadi.lower-test
/usr/local/libexec/mysqld: Can't change dir to '/usr/local/var/' (Errcode: 2)
Aborting
/usr/local/libexec/mysqld: Shutdown Complete
# Indeed /usr/local/var does not exist and my user should not have
# a write permission to /usr


Fix:
        Send me to the right part of manual :)
       Any suggestions are welcome.

Originator:     Arkadi
MySQL support: email support
Category:       mysql
Class:          support
Release:        mysql-5.0.0-alpha (Source distribution)

C compiler:    gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
C++ compiler:  g++ (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Environment:
<machine, os, target, libraries (multiple lines)>
System: Linux arkadi 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 i686 athlon i386 GNU/Linux
Architecture: i686


Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Compilation info: CC='gcc' CFLAGS='' CXX='g++' CXXFLAGS='' LDFLAGS='' ASFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Mar 22 00:50 /lib/libc.so.6 -> libc-2.3.2.so
-rwxr-xr-x 1 root root 1549556 Mar 14 2003 /lib/libc-2.3.2.so
-rw-r--r-- 1 root root 2321376 Mar 14 2003 /usr/lib/libc.a
-rw-r--r-- 1 root root 204 Mar 14 2003 /usr/lib/libc.so
Configure command: ./configure


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to