导入数据库出现下面提示错误:
ERROR 1005 (HY000) at line 1727: Can't create table 'xxxxxxx' (errno: -1)
查看日志会有以下报错:
120912 20:24:42 InnoDB: Error creating file './xxxxxx.ibd'.
120912 20:24:42 InnoDB: Operating system error number 17 in a file operation.
InnoDB: Error number 17 means 'File exists'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html
InnoDB: The file already exists though the corresponding table did not
InnoDB: exist in the InnoDB data dictionary. Have you moved InnoDB
InnoDB: .ibd files around without using the SQL commands
InnoDB: DISCARD TABLESPACE and IMPORT TABLESPACE, or did
InnoDB: mysqld crash in the middle of CREATE TABLE? You can
InnoDB: resolve the problem by removing the file './xxxxxxxxx.ibd'
InnoDB: under the 'datadir' of MySQL
从报错日志可以看到解决方法:
InnoDB: resolve the problem by removing the file './xxxxxxx.ibd'
所以只要移除'./xxxxxxxx.ibd'这个文件即可
相关推荐
安装报错信息 24741 error code EPERM 24742 error syscall unlink 24743 error path E:\workspaces\multiplatform\node_modules\.staging\regexpp-c7c47c68\index.js.map 24744 error errno -4048 24745 error ...
在程序中使用以下语句连接MySQL数据库服务器: @$db=new MySQLi('localhost','userName','password','databaseName'); 以上代码实例化了MySQLi类并且创建了到主机localhost的连接,该连接使用的用户名和密码分别为:...
树莓派4B使用 Adafruit_PCA9685 报错IOError: [Errno 121] Remote I/O error解决办法 首先,确保已经下载了python2或python3的Adafruit_PCA9685库,然后要明白,报该错原因是:Adafruit_PCA9685无法找到外部的硬件,...
主要介绍了MySQL 启动报错:File ./mysql-bin.index not found (Errcode: 13)的解决方法,需要的朋友可以参考下
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
.crx后缀的文件, 打开谷歌浏览器,在路劲栏输入:chrome://extensions/ 将下载的插件拖入谷歌浏览器,然后选中允许访问文件网址。
VCS双机启动的时候可能出现如下错误:VCS ERROR V-16-1-10600 Cannot connect to VCS engine 该文档是我在解决该错误的方法,希望能帮助到有需要的朋友!
python3 server.py 127.0.0.1 8888 ...AttributeError: module ‘os’ has no attribute ‘exit’ 部分代码入下: from socket import * import sys,os #实现登录 def do_login(s,user,name,addr): for i in user: i
连接服务器失败(错误原因:Connection refused) error 111 抓包结果
1、报错详情 安装vagrant,在运行vagrant up时,报错 An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again. OpenSSL SSL_...
背景:我们在做数据迁移或者拆分的时候,使用Tablespace transcation 这种解决方案时,很有可能就会遇到 从库复制出错,报: Last_SQL_Errno: 1146 那么具体错误内容可能会有如下: Last_SQL_Error: Error ‘Table ...
最近遇到Mysql主从同步的Last_IO_Errno:1236错误问题,然后在网上查找相关解决方案,这里分享给大家,供参考。
sx-fetch基于axios的前端网络请求库
本篇文章是对mysql数据库还原错误:(mysql Error Code: 1005 errno 121)的解决方法进行了详细的分析介绍,需要的朋友参考下
Python常见异常处理 精品课件----Python常见异常处理全文共71页,当前为第1页。... 异常介绍 报错信息: NameError: name 'a' is not defined FileNotFoundError: [Errno 2] No such file or directory: '
减少此类问题发生的办法就是尽量减少服务器无故断电,关闭服务器时,最后先手动关闭mysql数据库。 下面看看这个问题: Can’t open file: ‘×××.MYI’ (errno: 145),这个错误一般就是你的数据库表文件损坏造成的...
官方离线安装包,亲测可用。使用rpm -ivh [rpm完整包名] 进行安装
在MySQL里创建外键时,提示错误,但只提示很简单的信息:ERROR 1005 (HY000): Can’t create table ‘db_qxztc.qx_userssssnew’ (errno: 150)。根本起不到解决问题的作用。 要看错误的详细提示,可以使用命令:(在...