Hi,

I'm trying to install RH7(Guiness) Mysql RPM. I installed mysql-3.23.22-6
RPM,mysql-devel-3.23.22-6 RPM,mysql-server-3.23.22-6 RPM

I used the GNOME RPM installer from files from the RedHat CD2.

I tried /usr/bin/mysqladmin -u root password 'new password'

and it returned
>connect to server at 'localhost' failed
error:'Cant connect to local mysqlserver through socket 
' /var/lib/mysql.sock (111)'
check mysqld is running and that the /var/lib/mysql.sock exists!'

so I tried starting mysqld with '/usr/bin/safe_mysqld &' and got
>starting mysqld daemon with databases from /var/lib/mysql
>010318 mysqld ended

and checked if  /var/lib/mysql.sock existed, which it did but was empty.

I saw a file with localhost.localdomain.err and in it was the messsage
>mysqld started
>/usr/libexec/mysqld:Table "mysql.host" doesnt exist
>mysqld ended

I retried mysqladmin -u root password 'new password'
but still came up with the same error.

Info:-
-submitter id :  
-originator: jason baigent
-organisation:
-mysql support:none
-release :mysql-3.23.22-beta
-system :linux localhost.localdomain 2.2.16-22
 -architecture:i586
-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/2.96/specs
gcc version 2.96 20000731 (RH Linux 7.0)
Compliationinfo:CC='gcc' CFLAGS='-02 - march=i386 -mcpu=i686' CXX=c++
CXXFLAGS='-02 -march=i386 -mcpu=i686' LDPFLAGS=''

LIBC:
lrwxrwxrwx 1 root root 14 Mar 16 03:09            /lib/libc.so.6 ->
libc-2.1.92.so
-rwxr-xr-x   1 root root   4686077 Aug 31 2000  /lib/libc-2.1.92.so
-rw-r--r--     1 root root  22607104 Aug 31 2000  /usr/lib/libc.a
-rw-r--r--     1 root root           178 Aug 31 2000  /usr/lib/libc.so

Config Command: ./configure i386-redhat-linux --prefix=/usr
--exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
--localstatedir=/var
--sharedstatedir=/usr/com -mandir=/usr/share/man --infodir =/usr/share/info
--without-debug --without-readline --enable-shared
--with-extra-charsets=complex --without-bench
--localstatedir=/var/lib/mysql
--with-unix-socket-path=/var/lib/mysql/mysql.sock
--enable-assembler --with-mysqld-user=mysql
  

I've tried to follow the docs from mysql.com but am stumped! I am
relatively
new to linux.

I have managed to install RH7 apache and php4 and they work. 

Any help or ideas appreciated.

Thankyou

Jason Baigent


---------------------------------------------------------------------
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

Reply via email to