Skip to content

[MySQL 8.0] Init Container issue #363

@imriss

Description

@imriss

I am trying to deploy a MySQL 8.0 cluster using the MySQL Operator. However, I am getting these errors in the logs of the Mysql container:

kubectl logs -f mysql-cluster-test-mysql-0 mysql -n test

mysqld: Table 'mysql.plugin' doesn't exist
2019-07-03T18:16:51.902943Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2019-07-03T18:16:51.904587Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.15-6) starting as process 1
2019-07-03T18:16:52.461051Z 1 [Warning] [MY-010005] [Server] Skip re-populating collations and character sets tables in read-only mode.
2019-07-03T18:16:52.463437Z 0 [ERROR] [MY-010735] [Server] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2019-07-03T18:16:52.562848Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2019-07-03T18:16:52.565228Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2019-07-03T18:16:52.567938Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2019-07-03T18:16:52.568079Z 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
2019-07-03T18:16:52.568092Z 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.
2019-07-03T18:16:52.568181Z 0 [ERROR] [MY-000067] [Server] unknown variable 'query-cache-size=0'.
2019-07-03T18:16:52.568190Z 0 [Warning] [MY-010952] [Server] The privilege system failed to initialize correctly. If you have upgraded your server, make sure you're executing mysql_upgrade to correct the issue.
2019-07-03T18:16:52.568549Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-07-03T18:16:54.635552Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.15-6)  Percona Server (GPL), Release 6, Revision 63abd08.

The version of MySQL is set to 8.0.15.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions