MySQL出现1005 - Can't create table 'zxct.#sql-1acc_a' (errno: 150)解决
来源:互联网 发布:何洁为什么离婚知乎 编辑:程序博客网 时间:2024/05/29 14:39
环境:NavicatforMysql8.2 + MySQL Sever 5.1
问题:创建外键出现105错误,如下图:
解决:删除引用表,重新创建。
StackOverFlow上面对105错误的解释:
If you re-create a table that was dropped, it must have a definitionthat conforms to the foreign key constraints referencing it. It must have theright column names and types, and it must have indexes on the referenced keys,as stated earlier. If these are not satisfied, MySQL returns error number 1005and refers to error 150 in the error message.
参考资料:
http://stackoverflow.com/questions/4061293/mysql-cant-create-table-errno-150
- MySQL出现1005 - Can't create table 'zxct.#sql-1acc_a' (errno: 150)解决
- MySQL出现1005 - Can't create table 'zxct.#sql-1acc_a' (errno: 150)解决
- MYSQL ERRNO:#1005 - Can't create table '***' (errno: 150)
- mysql can't create table errno 150
- MySQL ERROR 1005: Can't create table (errno: 150)解决办法
- MySQL ERROR 1005: Can't create table (errno: 150)解
- MySQL ERROR 1005: Can't create table (errno: 150)
- MySQL ERROR 1005: Can't create table (errno: 150)解决办法
- MySQL ERROR 1005: Can't create table (errno: 150)
- MySQL ERROR 1005: Can't create table (errno: 150)
- MySQL ERROR 1005: Can’t create table (errno: 150)解决办法
- MySQL ERROR 1005: Can't create table (errno: 150)解决办法
- MySQL ERROR 1005: Can't create table (errno: 150)解决办法
- MySQL ERROR 1005: Can't create table (errno: 150)解决办法
- MySQL ERROR 1005: Can't create table (errno: 150)解决办法
- MySQL ERROR 1005: Can't create table (errno: 150)解决办法
- MySQL创建外键出现 ERROR 1005: Can't create table (errno: 150)解决办法
- mysql中执行F8出现错误代码: 1005 Can't create table 'xxx' (errno: 150)
- Myeclipse原本正确的js文件提示有错误
- Autodesk 产品二次开发技术研讨会总结(上海,广州两个会场结束)
- 黑莓招聘 BlackBerry Developer Evangelist (based in China)
- Jquery实现让textarea的滚动条始终保持在最下方
- 如何在windows server 2008 下创建系统自动任务来批量删除文件?[未完]
- MySQL出现1005 - Can't create table 'zxct.#sql-1acc_a' (errno: 150)解决
- solr4.0已发布ALPHA版。。离正式版本不久了。。
- 多线程&锁
- 调用后台动态的生成Highcharts图表
- linux网桥浅析
- 火狐button文字垂直居中
- 学习OpenCV——肤色检测
- VC++MFC中 CWMPMedia.GetDuration()获得为0值的问题解决方案
- 遍历