You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2021. It is now read-only.
Cloud provider or hardware configuration: Minikube
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Others:
What happened?
Trying to create a database gives error. Here is exact output. I created cluster with name 'mysql1'.
kubectl run mysql-client --image=mysql:5.7 -it --rm --restart=Never -- mysql -h mysql1 -uroot -pfy5VYHCUtgpHS9Z1p -e 'create database testdb;'
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1290 (HY000) at line 1: The MySQL server is running with the --super-read-only option so it cannot execute this statement.
What you expected to happen?
The database 'testdb' should have been created.
How to reproduce it (as minimally and precisely as possible)?
Create cluster
Once cluster is ready, execute above command
Anything else we need to know?
Before creating the cluster I did create a configMap with following my.cnf to reset the ready-only and super-read-only flags. But it did not help as you can see in above error.