Skip to main content

HostMonster Web Hosting Help

MySQL Database Compatibility

If your version of MySQL is a later release than ours, you can export the database to make it compatible with ours. To do this you would run the below command from the command prompt on your server.

mysqldump --compatible=mysql40 -udb_USERNAME -pdb_PASSWORD db_name > FILENAME

Note: Replace db_name, db_USERNAME, db_PASSWORD, & FILENAME with the name of the database, the user, the password, and the file name, respectively.

Knowledgebase Article 119,820 views bookmark tags: compatible database mysql


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

This article will explain MySQL database and user creation and deletion, and explain how to assign a user to a database.
Knowledgebase Article 654,542 views tags: creation database mysql

This article will explain how to change the password for a database in the event that the original password is lost.
Knowledgebase Article 115,810 views tags: database mysql password

How can I connect to our MySQL database from Dreamweaver?
Knowledgebase Article 147,615 views tags: connecting database dream mysql weaver

Related Help Content

How do I import a backup of my database (.sql file) using phpMyAdmin?
Knowledgebase Article 592,202 views tags: database mysql phpmyadmin

How to Restore your MySQL Database?
Knowledgebase Article 205,431 views tags: admin database mysql php phpmyadmin restore

How do I create a MySQL backup?
Knowledgebase Article 232,606 views tags: backup database mysql

I am prompted to set a new MySQL password. What does this mean and how do I change it?
Knowledgebase Article 117,559 views tags: connect database mysql password phpmyadmin username

How to repair and optimize your database using phpMyAdmin:
Knowledgebase Article 295,606 views tags: database mysql optimizing repairing slow speed

This article will explain how to connect your scripts to your MySQL databases.
Knowledgebase Article 113,234 views tags: database mysql scripts

What version of MySQL are you running?
Knowledgebase Article 174,561 views tags: mysql sql

How to restore MySQL databases using the Site Backup & Restore tool
Knowledgebase Article 102,774 views tags: backup database mysql restore site

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here