View Single Post

   
  #1 (permalink)  
Old 02-18-2008, 09:45 AM
Dario Basile
 
Posts: n/a
Default Starting MySQL at boot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm having trouble with starting mysql at boot time on a Slackware 9.0
box.

This is what I did:
I put the following lines in rc.local

if [ -x /etc/rc.d/rc.mysql ]; then
. /etc/rc.d/rc.mysql start
fi

rc.mysql is actually a soft link to /usr/share/mysql/mysql.server, and
when I execute it from bash it works normally.
It even works if I run /etc/rc.d/rc.local from bash.
But when I boot up, mysql server starts up and suddenly quit.
Any idea?
I also run at boot time apache and cups, all following the 'standard'
Slackware way and without any trouble.

- --
Dario Basile
- ----------------------------------------------------------------
Amantes amentes si coitus frementes non habent frequentes.
- ----------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/AwmO7mRkrRsDl/8RAnbwAKCcduMLOZVuFINkoJCM6sS3UvnnkwCgvltC
1U+swy3PwWr+kEvXn64gOvE=
=z744
-----END PGP SIGNATURE-----
Reply With Quote