HostGator 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.



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 861,141 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 250,844 views tags: database mysql password

How can I connect to our MySQL database from Dreamweaver?
Knowledgebase Article 259,793 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 766,882 views tags: database mysql phpmyadmin

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

How do I create a MySQL backup?
Knowledgebase Article 408,113 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 237,335 views tags: connect database mysql password phpmyadmin username

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

This article will explain how to connect your scripts to your MySQL databases.
Knowledgebase Article 228,540 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 325,292 views tags: connect disconnected hostname mysql user

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