How to Sync mysql adapter with MySql

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?