This hosting maintenance note, published on June 18, 2015, is titled "Upgrading MySQL from 5.1 to 5.5 under Linux CentOS 6". The actual environment and tools involved include WordPress, MySQL, and Linux.
Software and deployment conditions
Stop MySQL from running and uninstall the old version.
Parameters recorded in the original text
- Operation and maintenanceDatabase backup
- Version history:CentOS6, MySQL5.1, MySQL5.5, WordPress4.2, MYSQL5.1
Matters mentioned in the article
- First, back up the database and website files.
- Second, stop MySQL from running and uninstall the old version.
- Third, check and uninstall any remaining mysql-libs.
- Fourth, upgrade and install MySQL 5.5.
- Fifth, initiation and inspection
Usage Environment
WordPress, MySQL, Linux.
Key points to check
Migration checksSimultaneously back up website files and the database. After migration, verify the homepage, backend login, form submissions, and static resources, and finally switch DNS settings.
Data verificationWhen databases are involved, the version, character set, and number of tables should be recorded, and it should be verified that the backup can be restored in an independent environment.