エラーが発生してmysqlサーバーに接続できません
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 を再起動または起動できません。
[root@OPX-VPC-DB-Report-Slave-2 ~]# service mysqld status
mysqld is stopped
[root@OPX-VPC-DB-Report-Slave-2 ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
[root@OPX-VPC-DB-Report-Slave-2 ~]#
私はインターネットでたくさん検索しましたが、解決策は見つかりませんでした
RAID 0 を構成し、/mnt ディレクトリと symlinc をマウントしました
# ln -s /mnt/mysql_data/ /usr/lib/mysql
# ln -s /mnt/mysql_run /var/run/mysql
昨日、レプリケーションがクラッシュしたので、実行しました
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
繰り返しますが、レプリケーションは問題ありません
私の問題を解決してください
私の構成の詳細は次のとおりです:"-
Fedora 6 and mysql 5.0.2
Please help this is my production DB