简体   繁体   中英

Error While importing Schema in sql

Hey guys im trying to import schema from mysql vesion 5.0 to 5.1. Every time i'm trying to import schema I got this error:

Error near Drop Proceduer service_tt_yes' MySql.Data.MySqlClient.MySqlException: Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corrupted.

I try to skip that procedure but error occur in next procedure.

Any solution!

You can probably use following command in MySQL Client

USE DATABASE_NAME; SOURCE [QUALIFIED-LOCATION]IMPORTED_SCHEMA.sql

Like if you have IMPORTED_SCHEMA.sql in D: drive then fire following command. Note there is no semi colon in the end

SOURCE D:\\IMPORTED_SCHEMA.sql

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM