Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL starts....kinda

Status
Not open for further replies.

linuxnut

MIS
Mar 20, 2003
8
US
I'm having trouble getting mysql to start properly. Currently I'm using redhat 7.3. If I type /etc/rc.d/init.d/mysql start the system responds with Starting mysqld daemon with databases from /var/lib/mysql. However it just seems to hang forever with this message. If I press enter I get my prompt back. Then if I check to see if mysql is alive with /usr/bin/mysqladmin ping --user=mysql sure enough it says that mysqld is alive. My question is why does the system hang like this and never give me back control of my session until I hit the enter key? This is a problem because I'm trying to get mysql to start automatically by putting /etc/rc.d/init.d/mysql start in /etc/rc.d/rc.local but the system hangs when it gets this far and won't finish booting. Pressing enter obviously does nothing to push it along either.
 
Thanks for the reply. I was able to solve this by enabling the system service script for mysql and then by using SysV - Init editor in KDE I told it to start before local in Runlevels 3 and 5. This way mysql will start and hang like it does, however since local is next up to be processed it bumps mysql along, runs local then continues on to the GUI.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top