Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

MySQL won't start [fresh install]

Discussion in 'General Discussion' started by HeSWeB, Jan 3, 2008.

  1. HeSWeB

    HeSWeB Registered

    Joined:
    Nov 4, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    After a new install on a new server, mysql won't start.

    // Centos 4.latest
    // PHP5.2.5 DSO

    Error:: after restart MySQL

    /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").


    Error Message::
    tail -f /var/lib/mysql/server.xxxx.net.err


    080102 16:29:01 mysqld started
    InnoDB: The first specified data file ./ibdata1 did not exist:
    InnoDB: a new database to be created!
    080102 16:29:01 InnoDB: Setting file ./ibdata1 size to 10 MB
    InnoDB: Database physically writes the file full: wait...
    080102 16:29:01 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
    InnoDB: Setting log file ./ib_logfile0 size to 5 MB
    InnoDB: Database physically writes the file full: wait...
    080102 16:29:01 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
    InnoDB: Setting log file ./ib_logfile1 size to 5 MB
    InnoDB: Database physically writes the file full: wait...
    InnoDB: Doublewrite buffer not found: creating new
    InnoDB: Doublewrite buffer created
    InnoDB: Creating foreign key constraint system tables
    InnoDB: Foreign key constraint system tables created
    080102 16:29:01 InnoDB: Started; log sequence number 0 0
    /usr/sbin/mysqld: ready for connections.
    Version: '4.1.22-standard' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
    080102 16:29:04 [Note] /usr/sbin/mysqld: Normal shutdown

    080102 16:29:04 InnoDB: Starting shutdown...
    080102 16:29:06 InnoDB: Shutdown completed; log sequence number 0 43634
    080102 16:29:06 [Note] /usr/sbin/mysqld: Shutdown complete

    080102 16:29:06 mysqld ended

    080102 16:29:07 mysqld started
    080102 16:29:07 InnoDB: Started; log sequence number 0 43634
    /usr/sbin/mysqld: ready for connections.
    Version: '4.1.22-standard' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
    080102 18:04:52 [Note] /usr/sbin/mysqld: Normal shutdown

    080102 18:04:52 InnoDB: Starting shutdown...
    080102 18:04:53 InnoDB: Shutdown completed; log sequence number 0 45456
    080102 18:04:53 [Note] /usr/sbin/mysqld: Shutdown complete

    080102 18:04:53 mysqld ended



    Ideas??
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice