SQL syntax error when importing a DB

Asked by:
HubFans / n/a Points
Time:
2015-11-15 1:50 am EST
Category:
Databases
Hits:
1,093
Hi, I'm trying to import a database from my old hosting company, but I get the following error: #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 'PAGE_CHECKSUM=1' at line 9

The line in question is ENGINE = Aria DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci PAGE_CHECKSUM =1;

Can you please help me sort it? Thanks Martin

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ScottM
Staff
16,266 Points
2015-11-16 8:51 pm EST
Hello Martin,

Sorry to hear you are having issues with your database import script giving a syntax error. The area you pointed out is not compatible with MySQL on our servers. Tweaking it just a bit should help. You would need to change the "ENGINE = Aria" to "ENGINE = MyISAM" and remove the "PAGE_CHECKSUM =1". That should allow your script to import without issue.

Kindest Regards,
Scott M

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}