朋友一个天气预报网(http://tqybw.net)说网页打开不内容,让帮看下!
打开发过来的网址(http://tqybw.net/beijing15tian)页页提示错误:
tahblename Got error 134 from storage engine
判定这个是表出了问题,没办执行语句了
去mysql.com 找了下错误原因
Even though the MyISAM table format is very reliable (all changes to a table made by an SQL statement are written before the statement returns), you can still get corrupted tables if any of the following events occur:
The mysqld process is killed in the middle of a write.
An unexpected computer shutdown occurs (for example, the computer is turned off).
Hardware failures.
You are 找了下using an external program (such as myisamchk ) to modify a table that is being modified by the server at the same time.
A software bug in the MySQL or MyISAM code.
Typical symptoms of a corrupt table are:
You get the following error while selecting data from the table:
Incorrect key file for table: '...'. Try to repair it
Queries don't find rows in the table or return incomplete results.
详细来自:
http://dev.mysql.com/doc/refman/5.0/en/corrupted-myisam-tables.html
解决办法:
CHECK TABLE 表名
REPAIR TABLE 表名