If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
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 174,363 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 763,897 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 192,659 views tags: database mysql password

How can I connect to our MySQL database from Dreamweaver?
Knowledgebase Article 201,118 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 679,663 views tags: database mysql phpmyadmin

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

How do I create a MySQL backup?
Knowledgebase Article 318,349 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 177,164 views tags: connect database mysql password phpmyadmin username

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

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

I cannot connect to my database locally or remotely, do I have the correct server, username and password?
Knowledgebase Article 260,971 views tags: connect disconnected hostname mysql user

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

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