Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.
This repository was archived by the owner on May 28, 2021. It is now read-only.

failed to "Verify that you can connect to MySQL" according to quick start guide #224

Open
@k19810703

Description

@k19810703

I followed quick start guide to start a cluster. Everythink seems fine.

➜ mysql-operator git:(master) ✗ kubectl get pods --namespace=mysqltest
NAME READY STATUS RESTARTS AGE
my-app-db-0 2/2 Running 0 31m
my-app-db-1 2/2 Running 0 27m
my-app-db-2 2/2 Running 0 24m

but in the last step , I failed to connect mysql.
➜ mysql-operator git:(master) ✗ kubectl --namespace=mysqltest run mysql-client --image=mysql:5.7 -it --rm --restart=Never
-- mysql -hmy-app-db -uroot -pxs17uXpPE5bBe5TB -e 'SELECT 1'
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'10.244.1.190' (using password: YES)
pod mysqltest/mysql-client terminated (Error)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions