我無法連接到MySQL服務器收到錯誤無法登錄到MYSQL獲取錯誤錯誤2002(HY000):無法通過套接字連接到本地MySQL服務器'/var/lib/mysql/mysql.sock'(2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
我已經檢查日誌: -
InnoDB: Apply batch completed
130820 5:19:41 InnoDB: Error: the OS said file flush did not succeed
130820 5:19:41 InnoDB: Operating system error number 5 in a file operation.
InnoDB: Error number 5 means 'Input/output error'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.0/en/operating-system-error-codes.html
InnoDB: File operation call: 'flush'.
InnoDB: Cannot continue operation.
130820 05:19:42 mysqld ended
由於這個現在無法重新啓動或啓動mysql
[[email protected] ~]# service mysqld status
mysqld is stopped
[[email protected] ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
[[email protected] ~]#
我有搜索器DA很多互聯網上,但沒有找到
# ln -s /mnt/mysql_data/ /usr/lib/mysql
# ln -s /mnt/mysql_run /var/run/mysql
昨天有一個複製墜毀,所以我已經跑的任何解決方案
我已經配置了RAID 0和掛載到/ mnt目錄和symlinc
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
而且再次複製是好的
請解決我的問題
我的配置細節是:「 -
Fedora 6 and mysql 5.0.2
Please help this is my production DB
寫下你的問題[標題簡短](http://meta.stackexchange.com/q/10647/159344) – Gowri