Results 1 to 2 of 2

Thread: MySQL does not start.

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2008
    Posts
    2

    Default MySQL does not start.

    Hello. I recently tried to upgrade mysql form 4.1 to 5. I thought it worked, and now the server is not starting at all. This is the output i get from running mysqld_safe --user=mysql &:

    Code:
    [root@]# mysqld_safe --user=mysql &
    [1] 9219
    [root@]# Starting mysqld daemon with databases from /var/lib/mysql
    STOPPING server from pid file /var/run/mysql/mysqld.pid
    080218 14:25:51  mysqld ended
    It hangs here. So I press enter, and get:

    Code:
    [1]+  Done                    mysqld_safe --user=mysql
    Now this seems great, until I go to administer my database:

    Code:
    [root@]# mysql
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    I check for mysql.sock, and get this path using locate:

    Code:
    /var/lib/mysql/mysql.sock
    I navigate to /var/lib/mysql, do a dir, and there is no mysql.sock file.

    Any help would he appreciated!

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2008
    Posts
    2

    Default

    The problem resolved itself when I reinstalled the mysql server.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •