Bluehost Web Hosting Help

MySQL Database Compatibility

Problem:

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

Solution:

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 55,344 views bookmark tags: database mysql (updated 1654 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Knowledgebase Article

How to Create and Delete MySQL Databases and Users

This article will explain MySQL database and user creation and deletion, and explain how to assign a user to a database. (updated 444 days ago)

Knowledgebase Article

Resetting MySQL Database User and Password

This article will explain how to change the password for a database in the event that the original password is lost. (updated 450 days ago)

Knowledgebase Article

MySQL and Postgres Database Repair

What necessitates "Database Repair"? (updated 630 days ago)

Related Help Content

Knowledgebase Article

Connecting to your MySQL DB from Dreamweaver

How can I connect to our MySQL database from Dreamweaver? (updated 662 days ago)

Knowledgebase Article

MySQL Database Import via Command Line

How do I import a database using command line? (SSH) (updated 638 days ago)

Knowledgebase Article

How to import a MySQL Database using phpMyAdmin

How do I import a backup of my database (.sql file) using phpMyAdmin? (updated 457 days ago)

Knowledgebase Article

MySQL Database Restore

How to Restore your MySQL Database? (updated 646 days ago)

Knowledgebase Article

How to Backup a MySQL Database

How do I create a MySQL backup? (updated 333 days ago)

Knowledgebase Article

MySQL Database Reported Size and SQL Size Differ

An exported .sql file shows as a different size than the reported size in cPanel (updated 1043 days ago)

Knowledgebase Article

Managing Your Database Using phpMyAdmin

A repository of information on how you can manage your database by using the phpMyAdmin interface. (updated 458 days ago)

Knowledgebase Article

MySQL Repair / Optimize Tables in phpMyAdmin

How to repair and optimize your database using phpMyAdmin: (updated 650 days ago)