yang05130 发表于 2012-5-16 19:49:15

军哥,麻烦看下,看看是什么问题,

120516 17:49:28 /usr/local/mysql/libexec/mysqld: Incorrect key file for table '/tmp/#sql_5eaf_0.MYI'; try to repair it
120516 17:49:36 /usr/local/mysql/libexec/mysqld: Incorrect key file for table '/tmp/#sql_5eaf_0.MYI'; try to repair it
120516 17:49:36 /usr/local/mysql/libexec/mysqld: Incorrect key file for table '/tmp/#sql_5eaf_0.MYI'; try to repair it
120516 17:49:36 /usr/local/mysql/libexec/mysqld: Incorrect key file for table '/tmp/#sql_5eaf_0.MYI'; try to repair it
120516 17:49:36 /usr/local/mysql/libexec/mysqld: Incorrect key file for table '/tmp/#sql_5eaf_0.MYI'; try to repair it
120516 17:49:36 /usr/local/mysql/libexec/mysqld: Incorrect key file for table '/tmp/#sql_5eaf_0.MYI'; try to repair it
120516 17:49:36 /usr/local/mysql/libexec/mysqld: Incorrect key file for table '/tmp/#sql_5eaf_0.MYI'; try to repair it
120516 17:49:37 /usr/local/mysql/libexec/mysqld: Incorrect key file for table '/tmp/#sql_5eaf_0.MYI'; try to repair it
120516 17:49:37 /usr/local/mysql/libexec/mysqld: Incorrect key file for table '/tmp/#sql_5eaf_0.MYI'; try to repair it

lnmpa启动得起来,但就是网站访问不了

licess 发表于 2012-5-16 20:24:23

mysql -u root -p 按提示输入密码后
use database;   database为你的数据库名

check table tabname;
如果出现的结果的Status是OK,则不用修复
如果有Error,则 repair tabletabname;
tabname为表名

yang05130 发表于 2012-5-16 20:39:53

回复 2# 的帖子

检测完了,修复了几个表,但是网站还是无法访问,而探针与phpmyadmin却可以
页: [1]
查看完整版本: 军哥,麻烦看下,看看是什么问题,