Wednesday, 27 December 2017
Record a MySQL upgrade operation and maintenance practices Overview
MySQL Upgrade The essence of MySQL upgrade: The data dictionary upgrade Data dictionary: mysql, information_schema, performance_schema, sys schema. MySQL upgrade in two ways: in-place upgrade: Suitable for small version of the upgrade. That is, close the current MySQL, replace the current binary file or package, restart MySQL in the existing data directory, and run mysql_upgrade. Features: Do not change data files, upgrade faster; however, can not cross operating system, can not cross large version (5.5-> 5.7). logical upgrade: MySQL for different operating systems upgrade, upgrade between major versions. Namely: Use mysqldump or mydumper import and export data, to achieve the version upgrade. Features: Cross-operating system, across large version; However, slow upgrade, prone to garbled and other issues. Pre-upgrade preparation: Make a backup in advance Learn about changes to the new version (which are no longer compatible and which features are no longer supported) General information-> what is new in mysql 5.7 on the official website Upgrade notes: Confirm if there is a major change in the new version Note the change in SQL mode For example: MySQL5.7 occurred in the SQL mode changes, SQL mode is no longer supported, part of the SQL will not work, this time you can empty the SQL mode, run after setting the SQL mode. After the upgrade is successful, confirm whether the business SQL can run Program layer is normal Sometimes the original programming language part of the content is not supported by the new version of the database. For example, one time using PHP4.0 at 5.1, but upgrading to 5.6, PHP some of the functions are not supported. After the upgrade is complete, be sure to use the same program as the online version to test for problems. Storage engine changes
Subscribe to:
Post Comments (Atom)
Technology
How to earn money per day 100$ just work copy past
http://shrinkearn.com/rq4D Earn money 100$ dollers in a day ShrinkEarn.Com is a new paying hyperlink shortener network, it gives ...
-
, the log file will retain four elements of personal and bank card information, these data are personal privacy, the original ELK program ca...
-
This article will cover a part of the book DevOps Handbook: An Interpretation of Common DevOps Misconceptions. Some friends are not familia...
-
Just as we said, when the name AI came into being, we suddenly realized that Alibaba's business all talked about AI + its own business...
No comments:
Post a Comment