MysqlError Commands out of sync; you can't run this command now SHOW TABLES解决方案.docx

上传人:牧羊曲112 文档编号:3161941 上传时间:2023-03-11 格式:DOCX 页数:2 大小:36.59KB
返回 下载 相关 举报
MysqlError Commands out of sync; you can't run this command now SHOW TABLES解决方案.docx_第1页
第1页 / 共2页
MysqlError Commands out of sync; you can't run this command now SHOW TABLES解决方案.docx_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

《MysqlError Commands out of sync; you can't run this command now SHOW TABLES解决方案.docx》由会员分享,可在线阅读,更多相关《MysqlError Commands out of sync; you can't run this command now SHOW TABLES解决方案.docx(2页珍藏版)》请在三一办公上搜索。

1、MysqlError Commands out of sync; you cant run this command now SHOW TABLES解决方案Mysql:Error: Commands out of sync; you cant run this command now: SHOW TABLES解决方案 ROR在迁移数据库时,出现如下错误: rake aborted!Mysql:Error: Commands out of sync; you cant run this command now: SHOW TABLES 跟踪错误: 在mysql_adapter.rb里面找到SHO

2、W TABLES def tables(name = nil) #:nodoc: tables = execute(SHOW TABLES, name).each |field| tables field0 tables end 在你将数据库执行清除为0版本时,又会出现 each的错误,非常麻烦。 - gem list -local 得到:mysql 2.7.3 安装的的mysql客户端为5.1 C:Program FilesMySQLMySQL Server 5.1bin mysql Ver 14.14 Distrib 5.1.30b, for Win32 (ia32) - 解决方案: 最简单的办法:直接重新安装5.0版本的mysql,一切恢复正常。 如果不能卸载现有的mysql,你可以找一个低版本的mysql,寻得其mysql/bin/目录下的扩展文件libmySQL,然后将其copy到ruby/bin,或许能解决问题。

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号