HostMonster Web Hosting Help

MySQL Database Compatibility


How do I make my MySQL database compatible with the version you provide?


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 84,712 views bookmark tags: database mysql (updated 2156 days ago)

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. (updated 17 days ago)
Knowledgebase Article 477,585 views tags: creation database mysql

This article will explain how to convert a MySQL database to UTF-8. (updated 57 days ago)
Knowledgebase Article 934 views tags: character database encoding mysql utf

This article will explain how to change the password for a database in the event that the original password is lost. (updated 952 days ago)
Knowledgebase Article 31,726 views tags: database mysql password

Related Help Content

What necessitates "Database Repair"? (updated 1133 days ago)
Knowledgebase Article 101,539 views tags: corruption damaged database mysql postgres repair tables

How can I connect to our MySQL database from Dreamweaver? (updated 1165 days ago)
Knowledgebase Article 101,573 views tags: connecting database dream mysql weaver

How do I import a backup of my database (.sql file) using phpMyAdmin? (updated 127 days ago)
Knowledgebase Article 169,684 views tags: database mysql phpmyadmin

How do I create a MySQL backup? (updated 491 days ago)
Knowledgebase Article 156,797 views tags: backup database mysql

How to Restore your MySQL Database? (updated 1148 days ago)
Knowledgebase Article 156,982 views tags: admin database mysql php phpmyadmin restore

An exported .sql file shows as a different size than the reported size in cPanel (updated 1546 days ago)
Knowledgebase Article 25,774 views tags: backup database dump export mysql mysqldump size sql

A repository of information on how you can manage your database by using the phpMyAdmin interface. (updated 960 days ago)
Knowledgebase Article 155,932 views tags: commands database mysql phpmyadmin

How to repair and optimize your database using phpMyAdmin: (updated 1152 days ago)
Knowledgebase Article 191,725 views tags: database mysql optimizing repairing slow speed