Skip to content

katib-mysql pod :Access denied for user 'root'@'localhost' (using password: YES) #1212

@ijackcy

Description

@ijackcy

/kind bug

What steps did you take and what happened:

When I deployed kubeflow1.0, katib-db-manager-849b858bc8-4h8c9 and katib-mysql-7f99dfd774-gc4qp don't work well.

katib-db-manager-849b858bc8-4h8c9 0/1 ImagePullBackOff 0 11h
katib-mysql-7f99dfd774-gc4qp 0/1 Running 1 11h was

when i checked the log of katib-mysql-7f99dfd774-gc4qp :

Events:
Type Reason Age From Message


Warning Unhealthy 80s (x4130 over 11h) kubelet, slaver003 Readiness probe failed: mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

when i enter the katib-mysql-7f99dfd774-gc4qp :
root@katib-mysql-7f99dfd774-gc4qp:/# mysql -D ${MYSQL_DATABASE} -u root -p${MYSQL_ROOT_PASSWORD} -e 'SELECT 1'
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
root@katib-mysql-7f99dfd774-gc4qp:/# mysql -D ${MYSQL_DATABASE} -e 'SELECT 1'
ERROR 1049 (42000): Unknown database 'katib'

What did you expect to happen:

all of pod work well

Anything else you would like to add:

and then i try to delete the error pods, and modify the images(mysql 5) ,also the same error.
Access denied for user 'root'@'localhost' (using password: YES)
Environment:

  • Kubeflow version:1.0
  • Minikube version:
  • Kubernetes version: (use kubectl version):1.15.1
  • OS (e.g. from /etc/os-release):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions