How to Sync mysql adapter with MySql

J

James Lopes

I'm getting an error when I run db:migrate that the call to SHOW_TABLE
is out of sync. That the call can not be made at the time.

C:\myRailsWork\depot>rake db:migrate
(in C:/myRailsWork/depot)
== CreateProducts: migrating
=================================================
-- create_table:)products)
-> 0.0630s
== CreateProducts: migrated (0.0780s)
========================================

rake aborted!
Mysql::Error: Commands out of sync; you can't run this command now: SHOW
TABLES

any idea?
Is there a way to confirm that the adapter is in sync with the version
of MySql installed?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,781
Messages
2,569,616
Members
45,305
Latest member
KetoMeltsupplement

Latest Threads

Top