Click to See Complete Forum and Search --> : mySQL - getting it to start automatic under RH7


goozey
12-12-2000, 04:11 PM
Hi, here's probably (hopefully) a very simple question... mySQL won't start up automatically upon a server reboot. Now, I've read through reams of webpages... (can you have a ream of webpages..hmm) a book and what not - but don't realy know where to look or what to do.

Normally, I've just gone into Linuxconfig and checked the 'auto start' button there - works for all other services, but in the Mysql service, I check it, then come back in to that area, and it's unchecked. it won't stay lit.

ideas?

cwotton
12-13-2000, 06:39 AM
I know you can put it in your /etc/rc.d/
file thing, but i'm sure there's a better place to put it. It works though.. so.

just put the mysqldir/bin/safe_mysql or whatever it was into that directory. Should work.

Sweede
12-13-2000, 03:27 PM
there is a file
/mysqlinstalldir/share/mysql/mysql.server

that is the server start script for use in init.d
NOT safe_mysqld

goozey
12-13-2000, 03:58 PM
Thanks Sweede (and all),
that did the trick, after a few reboots and permission setting.