逐梦论坛's Archiver

shillan 发表于 2018-3-2 15:43

ERROR 1030 (HY000) at line 31: Got error 168 from storage engine

[b]现象:[/b]MySQL数据库在cmd下使用命令进行.sql导入时提示:
[quote]C:\Program Files\MySQL\bin>mysql -u root -p密码 数据库名 <D:\bak.sql
mysql: [Warning] Using a password on the command line interface can be insecure.

[color=Red]ERROR 1030 (HY000) at line 31: Got error 168 from storage engine[/color][/quote]
或者提示某些表已存在。

[b]解决:[/b]删除数据库所在文件夹下的
ib_buffer_pool
ib_logfile0
ib_logfile1
ibdata1
ibtmp1
机器名.pid
文件,再重新导入即可。

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.