今天数据服务器硬盘出现故障 造成服务器crash, 进行数据恢复在导入数据时提示
mysql -uroot -p jxcn01 < JX01_jxcn_2011-11-09_0530.sql
ERROR 2013 (HY000) at line 75: Lost connection to MySQL server during query
删除这个库提示如下
mysql> drop database jxcn01;
ERROR 2013 (HY000): Lost connection to MySQL server during query
解决方法:
把mysql 停掉,把jxcn01库文件删除,启动mysql,新建一个jxcn01库,再导入数据恢复。
http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting-datadict.html
阅读(7540) | 评论(0) | 转发(0) |