Questions
Questions and Answers
B.8.1: Where can I find information on how to migrate from MySQL 5.1 to MySQL 5.5?
For detailed upgrade information, see Section 2.13.1, “Upgrading MySQL”. Do not skip a major version when upgrading, but rather complete the process in steps, upgrading from one major version to the next in each step. This may seem more complicated, but it will you save time and trouble—if you encounter problems during the upgrade, their origin will be easier to identify, either by you or—if you have a MySQL Enterprise subscription—by MySQL support.
B.8.2: How has storage engine (table type) support changed in MySQL 5.5 from previous versions?
Storage engine support has changed as follows:
Support for
ISAMtables was removed in MySQL 5.0 and you should now use theMyISAMstorage engine in place ofISAM. To convert a tabletblnamefromISAMtoMyISAM, simply issue a statement such as this one:ALTER TABLE
tblnameENGINE=MYISAM;Internal
RAIDforMyISAMtables was also removed in MySQL 5.0. This was formerly used to allow large tables in file systems that did not support file sizes greater than 2GB. All modern file systems allow for larger tables; in addition, there are now other solutions such asMERGEtables and views.The
VARCHARcolumn type now retains trailing spaces in all storage engines.MEMORYtables (formerly known asHEAPtables) can also containVARCHARcolumns.