Starting MySQL (Timeout)

Discussion in 'Site & Server Administration' started by wvccboy, Jan 25, 2008.

  1. #1
    I tried to hit
    /sbin/service mysqld start

    and apparently I got this error:

    Timeout error occurred trying to start MySQL Daemon.
    Starting MySQL: [FAILED]

    It's on Fedora Core 8, I've uninstalled and tried reinstalling but I still get the same error.

    Any ways of troubleshooting the problem?

    Thanks
     
    wvccboy, Jan 25, 2008 IP
  2. Pwner

    Pwner Peon

    Messages:
    176
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Does it show the same with "/etc/init.d/mysqld start" ?
     
    Pwner, Jan 25, 2008 IP
  3. wvccboy

    wvccboy Notable Member

    Messages:
    2,632
    Likes Received:
    81
    Best Answers:
    1
    Trophy Points:
    250
    #3
    Yes it shows the same message, after 4-5 seconds.
     
    wvccboy, Jan 25, 2008 IP
  4. Pwner

    Pwner Peon

    Messages:
    176
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I read in a spanish forum that the way to fix that is to do the following (i don't know if it works or not):

    edit /etc/init.d/mysqld and look for: if [ -n "`/usr/bin/mysqladmin ping 2> /dev/null`" ]; then

    and change that for: if [ -n "`mysqladmin -u DUMMY_USER ping 2> /dev/null`" ]; then
     
    Pwner, Jan 25, 2008 IP
  5. Pwner

    Pwner Peon

    Messages:
    176
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Did it worked?
     
    Pwner, Jan 26, 2008 IP
  6. wvccboy

    wvccboy Notable Member

    Messages:
    2,632
    Likes Received:
    81
    Best Answers:
    1
    Trophy Points:
    250
    #6
    Just tried above what you said. There is no line like that in the file ;)

    Thanks though.
     
    wvccboy, Jan 26, 2008 IP