>Description: I have just installed MySQL 4.0.4 on Linux kernel 2.4.2-2 on a Hewlett-Packard Kayak machine. I ran the mysql_install_db script with no problems, but am unable to create a root password as directed by the script. I have started MySQL with ./bin/mysqld_safe & as directed by the script, but when I try to create a root user with ./bin/mysqladmin -u root password 'thepword', I get: ./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!
This is the first install of MySQL on this server (and my first try at installing). I'm also wondering where you copy the support-files/mysql.server in Linux? >How-To-Repeat: <code/input/activities to reproduce the problem (multiple lines)> >Fix: <how to correct or work around the problem, if known (multiple lines)> >Submitter-Id: <submitter ID> >Originator: root >Organization: <organization of PR author (multiple lines)> >MySQL support: [none | licence | email support | extended email support ] >Synopsis: <synopsis of the problem (one line)> >Severity: <[ non-critical | serious | critical ] (one line)> >Priority: <[ low | medium | high ] (one line)> >Category: mysql >Class: <[ sw-bug | doc-bug | change-request | support ] (one line)> >Release: mysql-4.0.4-beta (Official MySQL binary) >Environment: <machine, os, target, libraries (multiple lines)> System: Linux klinux 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown Architecture: i686 Some paths: /usr/bin/mh/perl /usr/bin/mh/make /usr/bin/mh/gmake /usr/bin/mh/gcc /usr/bin/mh/cc GCC: Reading specs from /usr/bin/mh/../lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81) Compilation info: CC='gcc' CFLAGS='-O2 -mcpu=pentiumpro ' CXX='gcc' CXXFLAGS='-O2 -mcpu=pentiumpro -felide-constructors' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 May 26 16:12 /lib/libc.so.6 -> libc-2.2.2.so -rwxr-xr-x 1 root root 1236396 Apr 6 2001 /lib/libc-2.2.2.so -rw-r--r-- 1 root root 26350254 Apr 6 2001 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Apr 6 2001 /usr/lib/libc.so Configure command: ./configure --prefix=/usr/local/mysql ' --with-comment=Official MySQL binary' --with-extra-charsets=complex --with-server-suffix= --enable-thread-safe-client --enable-local-infile --enable-assembler --disable-shared --with-client-ldfl ags=-all-static --with-mysqld-ldflags=-all-static 'CFLAGS=-O2 -mcpu=pentiumpro ' 'CXXFLAGS=-O2 -mcpu=pentiumpro -felide-const ructors' CXX=gcc -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]