- 5.6 rm -rf 111134/ scripts/mysql_install_db --basedir=$PWD --datadir=$PWD/111134 bin/mysqld --no-defaults --basedir=$PWD --datadir=$PWD/111134 --core-file --socket=/tmp/mysql_ushastry.sock --port=3306 --log-error=$PWD/111134/log.err --performance-schema=ON 2>&1 & $ bin/mysql -uroot -S /tmp/mysql_ushastry.sock Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.6.51 MySQL Community Server (GPL) Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> use test Database changed mysql> SET NAMES utf8; Query OK, 0 rows affected (0.00 sec) mysql> SET foreign_key_checks=off; Query OK, 0 rows affected (0.00 sec) mysql> mysql> CREATE TABLE t1 ( -> a int, -> PRIMARY KEY (a) -> ) PARTITION BY RANGE(a) -> (PARTITION P1 VALUES LESS THAN (10), -> PARTITION P2 VALUES LESS THAN (20), -> PARTITION P3 VALUES LESS THAN MAXVALUE); Query OK, 0 rows affected (0.04 sec) mysql> mysql> CREATE TABLE t2 ( -> a int, -> b int, -> PRIMARY KEY (a), -> KEY (b), -> FOREIGN KEY(b) REFERENCES t1 (a)); Query OK, 0 rows affected (0.01 sec) mysql> \q Bye bin/mysqladmin -uroot -S /tmp/mysql_ushastry.sock shutdown [1]+ Done bin/mysqld --no-defaults --basedir=$PWD --datadir=$PWD/111134 --core-file --socket=/tmp/mysql_ushastry.sock --port=3306 --log-error=$PWD/111134/log.err --performance-schema=ON 2>&1 -- In-place upgrade to 5.7.42 bin/mysqld --no-defaults --basedir=$PWD --datadir=/export/home/tmp/ushastry/mysql-5.6.51/111134/ --core-file --socket=/tmp/mysql_ushastry.sock --port=3306 --log-error=/export/home/tmp/ushastry/mysql-5.6.51/111134/log.err --log-error-verbosity=3 --secure-file-priv="" --performance-schema=ON 2>&1 & [1] 10894 bin/mysql_upgrade -uroot -S /tmp/mysql_ushastry.sock Checking if update is needed. Checking server version. Running queries to upgrade MySQL server. Checking system database. 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.innodb_index_stats OK mysql.innodb_table_stats OK 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 Upgrading the sys schema. Checking databases. sys.sys_config OK test.t1 error : Partitioning upgrade required. Please dump/reload to fix it or do: ALTER TABLE `test`.`t1` UPGRADE PARTITIONING warning : The partition engine, used by table 'test.t1', is deprecated and will be removed in a future release. Please use native partitioning instead. test.t2 OK Upgrading tables Running : ALTER TABLE `test`.`t1` UPGRADE PARTITIONING status : OK Upgrade process completed successfully. Checking if update is needed. bin/mysql -uroot -S /tmp/mysql_ushastry.sock Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 4 Server version: 5.7.42 MySQL Community Server (GPL) Copyright (c) 2000, 2023, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> shutdown; Query OK, 0 rows affected (0.00 sec) mysql> \q Bye -- In place upgrade to 8.0.33 bin/mysqld --no-defaults --basedir=$PWD --datadir=/export/home/tmp/ushastry/mysql-5.6.51/111134/ --core-file --socket=/tmp/mysql_ushastry.sock --port=3306 --log-error=/export/home/tmp/ushastry/mysql-5.6.51/111134/log.err --mysqlx-port=33330 --mysqlx-socket=/tmp/mysql_x_ushastry.sock --log-error-verbosity=3 --secure-file-priv=/tmp/ 2>&1 & . 2023-05-25T08:00:52.117895Z 2 [Warning] [MY-010772] [Server] db.opt file not found for test database. Using default Character set. 2023-05-25T08:00:52.135562Z 2 [ERROR] [MY-013140] [Server] Foreign keys are not yet supported in conjunction with partitioning 2023-05-25T08:00:52.503637Z 0 [ERROR] [MY-010022] [Server] Failed to Populate DD tables. 2023-05-25T08:00:52.503674Z 0 [ERROR] [MY-010119] [Server] Aborting