简体   繁体   中英

#1064 - error when importing .ibd or .frm file to database

There was a problem in my WAMP so I copied my DATABASE folder to another location and reinstalled WAMP.

After that, when I tried to import it, there was this error of

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?A?' at line 1

Tried everything there is on google, and Stack overflow but couldn't solve this.

SORRY bro you cant directly copy or restore file level to database.you have to first take backup in dump form and then try to import.

Here you can check how to dump database

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