MySQL Forums
Forum List  »  MySQL & Kubernetes

Re: Mysql operator clone
Posted by: Ales Verbic
Date: May 03, 2022 02:49PM

First I cloned it with 1 instance 1 router and then I updated it to 3 instances 1 router. Completely new PVs were created by StorageClass. 3rd instance got stuck.

Then I repeated it a couple of times with a different amount of instances the same error happened randomly.

Sidecar
2022-04-28T21:04:52 - [INFO] [sidecar] Bootstrapping
2022-04-28T21:04:52 - [INFO] [sidecar] Connect attempt #0 failed: MySQL Error (2002): Shell.connect: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
2022-04-28T21:04:54 - [INFO] [sidecar] InnoDB Cluster metadata (version=2) found, skipping configuration...
2022-04-28T21:04:54 - [DEBUG] [kubernetes.client.rest] response body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"mycluster-b-0","generateName":"mycluster-b-","namespace":"mysql-cluster","uid":"0ccf5c3d-19e2-4
Mysql
2022-04-28T21:04:54.179710Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.28' socket: '/var/run/mysql/mysql.sock' port: 3306 MySQL Community Server - GPL.
2022-04-28T21:04:59.801947Z 9 [Note] [MY-010926] [Server] Access denied for user 'mysqlhealthchecker'@'localhost' (using password: NO)
2022-04-28T21:05:04.425670Z 10 [Note] [MY-010926] [Server] Access denied for user 'mysqladmin'@'ip-10-110-78-103.ec2.internal' (using password: YES)

Options: ReplyQuote


Subject
Written By
Posted
May 03, 2022 10:19AM
May 03, 2022 02:43PM
Re: Mysql operator clone
May 03, 2022 02:49PM
May 04, 2022 06:58AM
May 10, 2022 11:30AM


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.