Professional Documents
Culture Documents
Wadhah DAOUEHI
ORACLE AND LINUX BLOG: WELCOME
MENU
We are going to upgrade my MySQL server 5.5.62 running on On my Oracle Linux 7 to MySQL
server to 5.7.26.
Table of Contents:
check my current version
Backup my databases
Install the new MySQL server version
Upgrade my data
# cat /etc/oracle-release
# uname -a
https://wadhahdaouehi.tn/2019/05/upgrade-mysql-server-5-5-to-5-7-on-oracle-linux-7/ 1/9
08/07/2021 Upgrade MySQL Server 5.5 to 5.7 on Oracle Linux 7 | Wadhah DAOUEHI
MySQL-server-5.5.62-1.el7.x86_64
MySQL-client-5.5.62-1.el7.x86_64
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rig
Type 'help;' or '\h' for help. Type '\c' to clear the current i
mysql> status
mysql Ver 14.14 Distrib 5.5.62, for Linux (x86_64) using readl
Connection id: 2
Current database:
Using delimiter: ;
Protocol version: 10
Db characterset: latin1
https://wadhahdaouehi.tn/2019/05/upgrade-mysql-server-5-5-to-5-7-on-oracle-linux-7/ 2/9
08/07/2021 Upgrade MySQL Server 5.5 to 5.7 on Oracle Linux 7 | Wadhah DAOUEHI
# rpm -e MySQL-server-5.5.62-1.el7.x86_64
# rpm -e MySQL-client-5.5.62-1.el7.x86_64
https://wadhahdaouehi.tn/2019/05/upgrade-mysql-server-5-5-to-5-7-on-oracle-linux-7/ 3/9
08/07/2021 Upgrade MySQL Server 5.5 to 5.7 on Oracle Linux 7 | Wadhah DAOUEHI
# mysql -V
mysql Ver 14.14 Distrib 5.7.26, for Linux (x86_64) using Edit
# mysql_upgrade -uroot -p
Enter password:
mysql.columns_priv OK
mysql.db OK
mysql.engine_cost OK
mysql.event OK
mysql.func OK
mysql.general_log OK
mysql.gtid_executed OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.innodb_index_stats OK
mysql.innodb_table_stats OK
https://wadhahdaouehi.tn/2019/05/upgrade-mysql-server-5-5-to-5-7-on-oracle-linux-7/ 4/9
08/07/2021 Upgrade MySQL Server 5.5 to 5.7 on Oracle Linux 7 | Wadhah DAOUEHI
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.server_cost OK
mysql.servers OK
mysql.slave_master_info OK
mysql.slave_relay_log_info OK
mysql.slave_worker_info OK
mysql.slow_log OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
Checking databases.
sys.sys_config OK
world_innodb.City OK
world_innodb.Country OK
world_innodb.CountryLanguage OK
# mysql -uroot -p
Enter password:
Type 'help;' or '\h' for help. Type '\c' to clear the current i
mysql> status;
mysql Ver 14.14 Distrib 5.7.26, for Linux (x86_64) using Edit
Connection id: 2
Current database:
Using delimiter: ;
Protocol version: 10
Db characterset: latin1
Uptime: 37 sec
Bye
Conclusion:
We have upgraded my MySQL server databases from the version 5.5 to 5.7 on Oracle Linux 7.
« Convert SNAPSHOT STANDBY to Online full backup of MySQL server 5.7 using
PHYSICAL STANDBY 12cR1 the MySQL Enterprise Backup »
https://wadhahdaouehi.tn/2019/05/upgrade-mysql-server-5-5-to-5-7-on-oracle-linux-7/ 6/9
08/07/2021 Upgrade MySQL Server 5.5 to 5.7 on Oracle Linux 7 | Wadhah DAOUEHI
Google+ Facebook
https://wadhahdaouehi.tn/2019/05/upgrade-mysql-server-5-5-to-5-7-on-oracle-linux-7/ 7/9
08/07/2021 Upgrade MySQL Server 5.5 to 5.7 on Oracle Linux 7 | Wadhah DAOUEHI
Recent Posts
Upgrade Oracle Database RAC 2 nodes CDB, 2 PDBs from 19.3 to 19.9
[FATAL] [DBT-06103] The port (5,500) is already in use. ACTION: Specify a free port, Oracle 19c
Get prepared for the Oracle Cloud Infrastructure 2019 Certified Architect Professional
https://wadhahdaouehi.tn/2019/05/upgrade-mysql-server-5-5-to-5-7-on-oracle-linux-7/ 8/9
08/07/2021 Upgrade MySQL Server 5.5 to 5.7 on Oracle Linux 7 | Wadhah DAOUEHI
RAC 12cR2 Cluster Bug: HANG DUE TO HIGH GC INDEX OPERATIONS/ENQ: TX ROW LOCK
CONTENTION WAITS: Bug resolved via Patch 28023081
Bug while creating new administrator manager RAC 12cR1 while we have one
Set-UP SELinux security Context of auditd destination on Oracle Linux, RHEL and CentOS
DevOps/DBA n°2: Oracle database EE 18c on Docker Image based on Oracle Linux 7u7
DevOps/DBA n°1: Oracle database EE 19c on Docker Image based on Oracle Linux 7u7
[FATAL] [DBT-11211] 19c DBCA: The AMM option is not allowed while the physical memory is
greater than 4GB
Upgrade Oracle database from 12c (12.1.0.2) to 19c (19.3.0.0) using the RMAN backup
https://wadhahdaouehi.tn/2019/05/upgrade-mysql-server-5-5-to-5-7-on-oracle-linux-7/ 9/9