MySQL Forums
Forum List  »  MySQL & Kubernetes

Mysql clone 8.0.29-2.0.4 Unexpected MySQL error
Posted by: Ales Verbic
Date: June 13, 2022 03:15PM

I am able to successfully clone mysql8 when I define innodbcluster resource.

But the cluster doesn't start properly.

sidecar [INFO ] MySQL Operator/sidecar_main.py=2.0.4 timestamp=2022-04-26T10:29:04 kopf=1.31.0 uid=27
sidecar [INFO ] My pod is mysql-innodbcluster-0 in my-cluster
sidecar [INFO ] Bootstrapping
sidecar [INFO ] Connect attempt #0 failed: MySQL Error (2002): Shell.connect: Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2)
sidecar [INFO ] Configuring mysql pod {pod_name}, configured=None datadir=/var/lib/mysql
sidecar [INFO ] Creating root account root@%
sidecar [INFO ] Creating account mysqladmin@%
sidecar [INFO ] Admin account created
sidecar [INFO ] Starting clone from mysql8.mysql-cluster:3306 to localhost:3306

[INFO ] MySQL Operator/sidecar_main.py=2.0.4 timestamp=2022-04-26T10:29:04 kopf=1.31.0 uid=27
sidecar [INFO ] My pod is mysql-innodbcluster-0 in infra
sidecar [INFO ] Bootstrapping
sidecar [CRITICAL] Unexpected MySQL error during connection: MySQL Error (1698): Shell.connect: Access denied for user 'localroot'@'localhost'

Options: ReplyQuote


Subject
Written By
Posted
Mysql clone 8.0.29-2.0.4 Unexpected MySQL error
June 13, 2022 03:15PM


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.