mysql 1033 frm_MySQL ERROR 1033 (HY000): Incorrect information in file. 处理一例
昨天遇到問題,幾個表都一樣的情況:
mysql> desc domains;
ERROR 1033 (HY000): Incorrect information in file: './xxx/xxx.frm'
mysql>
然后看一下狀態:
mysql> show engines;
+------------+----------+----------------------------------------------------------------+
| Engine???? | Support? | Comment??????????????????????????????????????????????????????? |
+------------+----------+----------------------------------------------------------------+
| MyISAM???? | DEFAULT? | Default engine as of MySQL 3.23 with great performance???????? |
| MEMORY???? | YES????? | Hash based, stored in memory, useful for temporary tables????? |
| InnoDB???? | DISABLED | Supports transactions, row-level locking, and foreign keys???? |
再看一下log信息,發現有錯誤提示:
140518 11:11:11? mysqld started
InnoDB: Unable to lock ./ib_logfile1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Error in opening ./ib_logfile1
于是網上找一下。解決很簡單:
stop mysql
mv ib_logfile1 ib_logfile1.bak
cp -a ib_logfile1.bak ib_logfile1
start mysql
檢查,一切正常。
參考URL如下:
http://tercan-eng.blogspot.com/2010/08/mysql-unable-to-lock-ibdata1-error-11.html
總結
以上是生活随笔為你收集整理的mysql 1033 frm_MySQL ERROR 1033 (HY000): Incorrect information in file. 处理一例的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MSSQL用户映射,服务器角色
- 下一篇: python编辑器背景设置为黑色_VSc