polarismesh / polaris

Service Discovery and Governance Platform for Microservice and Distributed Architecture
https://polarismesh.cn
Other
2.41k stars 399 forks source link

Mysql 启动失败导致 polaris-server 无法正常启动 #1343

Open jaronnie opened 8 months ago

jaronnie commented 8 months ago

Describe the bug

2024-03-29 12:31:45+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:31:45+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:31:45+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:31:45+08:00 [Note] [Entrypoint]: Initializing database files
2024-03-29T04:31:45.700688Z 0 [System] [MY-015017] [Server] MySQL Server Initialization - start.
2024-03-29T04:31:45.702360Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:31:45.702375Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.3.0) initializing of server in progress as process 79
2024-03-29T04:31:45.708260Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:31:45.958769Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-03-29T04:31:47.075060Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:31:47.075736Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it.
2024-03-29T04:31:47.075785Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:31:48.578391Z 0 [System] [MY-015018] [Server] MySQL Server Initialization - end.
2024-03-29 12:31:49+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:31:49+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:31:49+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-03-29T04:31:49.603120Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-03-29T04:31:49.906308Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:31:49.906336Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.3.0) starting as process 1
2024-03-29T04:31:49.925819Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:31:50.178084Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-03-29T04:31:50.285244Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-03-29T04:31:50.285462Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:50.285772Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:50.285967Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:50.286446Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:50.286995Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:50.287258Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:50.287467Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:50.337425Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:31:50.402239Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:31:50.406458Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-03-29T04:31:50.406591Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-03-29T04:31:50.408981Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-03-29T04:31:50.409515Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:50.409756Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-03-29T04:31:50.409776Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-03-29T04:31:50.409881Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:31:50.410662Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:31:51.852736Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.3.0)  MySQL Community Server - GPL.
2024-03-29T04:31:51.852806Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-03-29 12:31:52+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:31:52+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:31:52+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-03-29T04:31:52.748465Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-03-29T04:31:52.969835Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:31:52.969864Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.3.0) starting as process 1
2024-03-29T04:31:52.976654Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:31:53.109438Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-03-29T04:31:53.192152Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-03-29T04:31:53.192352Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:53.192709Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:53.192904Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:53.193134Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:53.193273Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:53.193402Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:53.193630Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:53.225148Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:31:53.299630Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:31:53.303940Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-03-29T04:31:53.304023Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-03-29T04:31:53.306152Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-03-29T04:31:53.306910Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:53.307150Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-03-29T04:31:53.307227Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-03-29T04:31:53.307363Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:31:53.308281Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:31:54.902055Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.3.0)  MySQL Community Server - GPL.
2024-03-29T04:31:54.902119Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-03-29 12:31:55+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:31:55+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:31:55+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-03-29T04:31:55.950781Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-03-29T04:31:56.175837Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:31:56.175862Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.3.0) starting as process 1
2024-03-29T04:31:56.181556Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:31:56.269798Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-03-29T04:31:56.345093Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-03-29T04:31:56.345301Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:56.345476Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:56.345754Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:56.345976Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:56.346123Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:56.346271Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:56.346408Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:56.376135Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:31:56.447182Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:31:56.450658Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-03-29T04:31:56.450694Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-03-29T04:31:56.452549Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-03-29T04:31:56.452986Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:56.453256Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-03-29T04:31:56.453322Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-03-29T04:31:56.453604Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:31:56.454502Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:31:58.018645Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.3.0)  MySQL Community Server - GPL.
2024-03-29T04:31:58.018712Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-03-29 12:31:59+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:31:59+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:31:59+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-03-29T04:31:59.469964Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-03-29T04:31:59.692003Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:31:59.692028Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.3.0) starting as process 1
2024-03-29T04:31:59.697564Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:31:59.786400Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-03-29T04:31:59.863451Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-03-29T04:31:59.863822Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:59.864114Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:59.864346Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:59.864586Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:59.864739Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:59.864884Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:59.865022Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:59.895249Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:31:59.959012Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:31:59.962456Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-03-29T04:31:59.962561Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-03-29T04:31:59.964179Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-03-29T04:31:59.964775Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:31:59.965053Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-03-29T04:31:59.965112Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-03-29T04:31:59.965245Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:31:59.966056Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:32:01.548938Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.3.0)  MySQL Community Server - GPL.
2024-03-29T04:32:01.548996Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-03-29 12:32:03+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:32:03+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:32:03+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-03-29T04:32:03.812732Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-03-29T04:32:04.032560Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:32:04.032589Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.3.0) starting as process 1
2024-03-29T04:32:04.038884Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:32:04.126503Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-03-29T04:32:04.199961Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-03-29T04:32:04.200220Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:04.200389Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:04.200782Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:04.201011Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:04.201152Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:04.201295Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:04.201429Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:04.232020Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:32:04.304758Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:32:04.308243Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-03-29T04:32:04.308371Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-03-29T04:32:04.310458Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-03-29T04:32:04.311002Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:04.311330Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-03-29T04:32:04.311428Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-03-29T04:32:04.311778Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:32:04.312741Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:32:05.866309Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.3.0)  MySQL Community Server - GPL.
2024-03-29T04:32:05.866382Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-03-29 12:32:09+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:32:09+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:32:09+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-03-29T04:32:09.724759Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-03-29T04:32:09.943806Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:32:09.943832Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.3.0) starting as process 1
2024-03-29T04:32:09.949899Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:32:10.039617Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-03-29T04:32:10.116203Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-03-29T04:32:10.116426Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:10.116688Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:10.116942Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:10.117207Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:10.117379Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:10.117673Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:10.117883Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:10.170889Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:32:10.242823Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:32:10.246049Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-03-29T04:32:10.246084Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-03-29T04:32:10.247848Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-03-29T04:32:10.248284Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:10.248641Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-03-29T04:32:10.248701Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-03-29T04:32:10.248807Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:32:10.249454Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:32:11.811077Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.3.0)  MySQL Community Server - GPL.
2024-03-29T04:32:11.811137Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-03-29 12:32:18+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:32:18+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:32:18+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-03-29T04:32:18.853975Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-03-29T04:32:19.078375Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:32:19.078401Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.3.0) starting as process 1
2024-03-29T04:32:19.084798Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:32:19.174660Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-03-29T04:32:19.249669Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-03-29T04:32:19.249939Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:19.250126Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:19.250275Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:19.250467Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:19.250681Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:19.250868Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:19.251106Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:19.282596Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:32:19.360234Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:32:19.364549Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-03-29T04:32:19.364585Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-03-29T04:32:19.366839Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-03-29T04:32:19.367323Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:19.367725Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-03-29T04:32:19.367832Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-03-29T04:32:19.367985Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:32:19.368802Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:32:20.937665Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.3.0)  MySQL Community Server - GPL.
2024-03-29T04:32:20.937732Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-03-29 12:32:33+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:32:34+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:32:34+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-03-29T04:32:34.364174Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-03-29T04:32:34.583412Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:32:34.583437Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.3.0) starting as process 1
2024-03-29T04:32:34.589144Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:32:34.701553Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-03-29T04:32:34.773676Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-03-29T04:32:34.774046Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:34.774221Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:34.774584Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:34.774887Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:34.775059Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:34.775190Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:34.775460Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:34.804874Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:32:34.817753Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:32:34.819884Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-03-29T04:32:34.819908Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-03-29T04:32:34.821090Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-03-29T04:32:34.821544Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:32:34.821770Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-03-29T04:32:34.821845Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-03-29T04:32:34.821940Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:32:34.822589Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:32:36.382450Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.3.0)  MySQL Community Server - GPL.
2024-03-29T04:32:36.382573Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-03-29 12:33:02+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:33:02+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:33:02+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-03-29T04:33:02.667996Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-03-29T04:33:02.898718Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:33:02.898744Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.3.0) starting as process 1
2024-03-29T04:33:02.906146Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:33:03.007134Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-03-29T04:33:03.091861Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-03-29T04:33:03.092076Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:03.092202Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:03.092331Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:03.092603Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:03.092801Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:03.092961Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:03.093112Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:03.126956Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:33:03.200151Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:33:03.204565Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-03-29T04:33:03.204741Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-03-29T04:33:03.207317Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-03-29T04:33:03.208064Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:03.208442Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-03-29T04:33:03.208471Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-03-29T04:33:03.208594Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:33:03.209409Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:33:04.803700Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.3.0)  MySQL Community Server - GPL.
2024-03-29T04:33:04.803724Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-03-29 12:33:56+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
2024-03-29 12:33:56+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-03-29 12:33:56+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.3.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-03-29T04:33:56.697494Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-03-29T04:33:56.928244Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-03-29T04:33:56.928270Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.3.0) starting as process 1
2024-03-29T04:33:56.935154Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-03-29T04:33:57.037774Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-03-29T04:33:57.131936Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-03-29T04:33:57.132186Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:57.132338Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:57.132490Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:57.132752Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:57.132850Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:57.132945Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:57.133031Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:57.172000Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:33:57.235650Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-03-29T04:33:57.238046Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-03-29T04:33:57.238113Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-03-29T04:33:57.239514Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-03-29T04:33:57.239926Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-03-29T04:33:57.240156Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-03-29T04:33:57.240208Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-03-29T04:33:57.240303Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-character-set-client-handshake'.
2024-03-29T04:33:57.240963Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-03-29T04:33:58.836736Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.3.0)  MySQL Community Server - GPL.
2024-03-29T04:33:58.836795Z 0 [System] [MY-015016] [Server] MySQL Server - end.

To Reproduce

docker-compose up

Environment