List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:June 7 1999 9:57am
Subject:trouble starting w/ mysql.server script...
View as plain text  
>>>>> "arnie" == arnie sherman <arnie@stripped> writes:

arnie> Hi all,
arnie> I am new to this list. I just downloaded the rpm of Ver 7.11 Distrib
arnie> 3.22.22. Installing the rpm semed to go ok, except for this error,
arnie> echoed during the install:

arnie> WARNING: Your libc libraries are not 100 % compatible with this MySQL
arnie> version
arnie> mysqld should work normally with the exception that host name resolving
arnie> will not work.  This means that you should use IP addresses instead
arnie> of hostnames when specifying MySQL privileges !

The above means that you should consider to sometime compile MySQL
from source!  (It should however work acceptable good now)

arnie> my lib files are as follows:

arnie> # ls -ltr /lib/libc*
arnie> -r-xr-xr-x   1 root     root       580288 Jan  7  1998
arnie> /lib/
arnie> -rwxr-xr-x   1 root     root         7652 Apr  3 15:50
arnie> /lib/
arnie> -rwxr-xr-x   1 root     root      1235188 Apr  3 21:05 /lib/
arnie> lrwxrwxrwx   1 root     root           14 May  8 03:42 /lib/ ->
arnie> lrwxrwxrwx   1 root     root           11 May  8 03:43 /lib/ ->
arnie> lrwxrwxrwx   1 root     root           17 May  8 04:20
arnie> /lib/ ->

arnie> this is all on caldera open linux 2.2, on a pentium 133, w/ 128 megs of
arnie> ram.

arnie> as root i am able to create, modify, and drop a database.

arnie> my problem is this:
arnie> i can start mySQL as root with: /usr/bin/safe_mysqld &
arnie> and i can shutdown the daemon with: /usr/bin/mysqladmin -u root -p
arnie> shutdown

arnie> however, if i try to start the daemon with:
arnie> /usr/share/mysql/mysql.server  start
arnie> it dies immediatly, with this:

arnie> # /usr/share/mysql/mysql.server   start
arnie> # Starting mysqld daemon with databases from /var/lib/mysql
arnie> mysqld daemon ended

Did you do the above as root ?

Did you check the error messages in your 'hostname'.err file.
(This is probably in the /var/lib/mysql directory)

arnie> also, if i start up w/ safe_mysqld, but try to stop with
arnie> /usr/share/mysql/mysql.server  stop

arnie> i get this error:
arnie> No mysqld pid file found. Looked for /var/lib/mysql/

arnie> the only thing i see in that directory with a pid extension is:
arnie> - which contains one entry.

This should work if you start mysqld as:

safe_mysqld --pid-file=/var/lib/mysql/ &

arnie> i'd like to be able to have mysqld start when i boot, using the
arnie> mysql.server script.
arnie> i suspect the problem lies somewhere in the mysql.server script, but i'm
arnie> not sure...

arnie> can anyone give any pointers as to how i can get this to work?
arnie> thanks,

trouble starting w/ mysql.server script...arnie sherman6 Jun
  • trouble starting w/ mysql.server script...Michael Widenius7 Jun
  • Re: trouble starting w/ mysql.server script...arnie sherman8 Jun
    • Re: trouble starting w/ mysql.server script...Michael Widenius8 Jun
  • Re: trouble starting w/ mysql.server script...arnie sherman10 Jun