Current time: 10-06-2024, 01:25 AM Hello There, Guest! (LoginRegister)


Post Reply 
[ CLOSED ] Connection failed: SQLSTATE[HY000] [2002]
Author Message
CHBIE Offline
Junior Member
*

Posts: 225
Joined: May 2008
Reputation: 11
Post: #3
RE: Connection failed: SQLSTATE[HY000] [2002]
syslog:

Code:
Feb  2 08:57:01 alpha mysqld_safe[1963]: started
Feb  2 08:57:01 alpha mysqld[1966]: 090202  8:57:01  InnoDB: Started; log sequence number 0 43655
Feb  2 08:57:02 alpha mysqld[1966]: 090202  8:57:02 [Note] Recovering after a crash using /var/log/mysql/mysql-bin
Feb  2 08:57:02 alpha mysqld[1966]: 090202  8:57:02 [Note] Starting crash recovery...
Feb  2 08:57:02 alpha mysqld[1966]: 090202  8:57:02 [Note] Crash recovery finished.
Feb  2 08:57:02 alpha mysqld[1966]: 090202  8:57:02 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './mysql/user.frm'
Feb  2 08:57:02 alpha mysqld[1966]: 090202  8:57:02 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './mysql/user.frm'
Feb  2 08:57:02 alpha mysqld[1966]: 090202  8:57:02 [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect information in file: './mysql/user.frm'
Feb  2 08:57:02 alpha mysqld_safe[1977]: ended
Feb  2 08:57:10 alpha kernel: eth1: no IPv6 routers present
Feb  2 08:57:15 alpha /etc/init.d/mysql[2112]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Feb  2 08:57:15 alpha /etc/init.d/mysql[2112]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Feb  2 08:57:15 alpha /etc/init.d/mysql[2112]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Feb  2 08:57:15 alpha /etc/init.d/mysql[2112]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Feb  2 08:57:15 alpha /etc/init.d/mysql[2112]:

Gruss CHBIE
02-02-2009 05:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Connection failed: SQLSTATE[HY000] [2002] - CHBIE - 02-02-2009 05:02 PM

Forum Jump:


User(s) browsing this thread: 6 Guest(s)