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 128,868 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 674,613 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 135,765 views tags: database mysql password

How can I connect to our MySQL database from Dreamweaver?
Knowledgebase Article 157,417 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 612,680 views tags: database mysql phpmyadmin

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

How do I create a MySQL backup?
Knowledgebase Article 245,194 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 127,652 views tags: connect database mysql password phpmyadmin username

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

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

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

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

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