MySQL Forums
Forum List  »  Install & Repo

MySQL 5.7 to 8 Upgrade Fail | Data Dictionary initialization failed
Posted by: Vinod Parmar
Date: May 22, 2018 05:12AM

Hi ,

I am working on MySQL In-Place upgrade (used installer) ,from MysQL 5.7.21 CS to MySQL 8.0.11 CS on Windows Server 2008 R2 .

After in place upgrade MySQL service is not starting. Below is content from errorlog.


2018-05-22T10:41:06.812500Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe (mysqld 8.0.11) starting as process 2572
2018-05-22T10:42:48.714062Z 0 [Warning] [MY-011071] [Server] option 'read_buffer_size': unsigned value 0 adjusted to 8192
2018-05-22T10:42:48.714062Z 0 [Warning] [MY-011071] [Server] option 'read_rnd_buffer_size': unsigned value 0 adjusted to 1
2018-05-22T10:42:48.714062Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2018-05-22T10:42:48.714062Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe (mysqld 8.0.11) starting as process 1132
2018-05-22T10:42:55.210937Z 1 [ERROR] [MY-011014] [Server] Found partially upgraded DD. Aborting upgrade and deleting all DD tables. Start the upgrade process again.
2018-05-22T10:42:59.099210Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2018-05-22T10:42:59.099210Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-05-22T10:43:00.630611Z 0 [System] [MY-010910] [Server] C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe: Shutdown complete (mysqld 8.0.11) MySQL Community Server - GPL.


Below is current my.ini file.

[client]
port=3306

[mysql]
no-beep

[mysqld]
port=3306
basedir=C:/Program Files/MySQL/MySQL Server 5.7
datadir=E:/ProgramData/MySQL/MySQL Server 5.7/Data
default_authentication_plugin=mysql_native_password
default-storage-engine=INNODB
sql-mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION"
log-output=FILE
general-log=0
general_log_file="WIN-QAJ7PLNGBGO.log"
secure-file-priv="C:/ProgramData/MySQL/MySQL Server 8.0/Uploads"
max_connections=151
table_open_cache=2000
tmp_table_size=14M
thread_cache_size=10
myisam_max_sort_file_size=100G
myisam_sort_buffer_size=8M
key_buffer_size=8M
read_buffer_size=0
read_rnd_buffer_size=0
innodb_data_home_dir="E:/MySQL Datafiles"
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_buffer_pool_size=8M
innodb_log_file_size=48M
innodb_thread_concurrency=8
innodb_autoextend_increment=64
innodb_buffer_pool_instances=8
innodb_concurrency_tickets=5000
innodb_old_blocks_time=1000
innodb_open_files=300
innodb_stats_on_metadata=0
#innodb_file_per_table=1
innodb_checksum_algorithm=0
back_log=80
flush_time=0
join_buffer_size=256K
max_allowed_packet=4M
max_connect_errors=100
open_files_limit=4161
sort_buffer_size=256K
table_definition_cache=1400
binlog_row_event_max_size=8K
sync_master_info=1000
sync_relay_log=10000
sync_relay_log_info=10000


server_id=20
log-bin="mysql-bin"
tmpdir="E:\MySQL Tmp Tables\"
sync_binlog=1
binlog_format=MIXED
log_error="E:/MySQL Logs/error.log"
slow_query_log=1
slow_query_log_file="E:/MySQL Logs/slowqueries.log"
log-output=NONE
long_query_time=0.25
max_allowed_packet=4M
wait_timeout=900
interactive_timeout=900
max_heap_table_size=512M
#query_cache_type=0
innodb_io_capacity=10000
innodb_thread_sleep_delay=2000
innodb_read_io_threads=16
innodb_write_io_threads=16
innodb_stats_on_metadata=0
back_log=5000
flush_time=0
max_connect_errors=100000
#log_warnings=1
log_error_verbosity=2
table_definition_cache=30000
table_open_cache=15000
autocommit=0
default_authentication_plugin=mysql_native_password

Need some advise here .

Options: ReplyQuote


Subject
Written By
Posted
MySQL 5.7 to 8 Upgrade Fail | Data Dictionary initialization failed
May 22, 2018 05:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.