I have a Bluehost account, and now I am switching to a new digitalocean.com account. I do export and import, as in phpmyadmin, but here, when I import my sql.zip or sql.gz files to a new server, it shows me an error like
Error
Static analysis:
1 errors were found during analysis.
Missing expression. (near "ON" at position 25)
SQL query: Edit Edit
SET FOREIGN_KEY_CHECKS = ON;
MySQL said: Documentation
Here is a screenshot
https://www.awesomescreenshot.com/image/2511553/fa78fad9e1108051c84538f2314df7
I take the following steps to solve the problem
- try exporting MYSQL_40 and import
- try disabling the FOREIGN_KEY flag when exporting and try to import
- Database plugin used but same error
But no luck, I think this is a problem with the bluehost server when I try to export