mysql连接问题

文章目录

在使用 bitnami 的镜像来搭建 mysql 的集群环境,但是突然驱动出现了问题,进入容器对于的那台机器查询对于的命令

/opt/bitnami/mysql/bin/mysqld –defaults-file=/opt/bitnami/mysql/conf/my.cnf –basedir=/opt/bitnami/mysql –datadir=/ bitnami/mysql/data –socket=/opt/bitnami/mysql/tmp/mysql.sock –bind-address=127.0.0.1 –skip-slave-start –upgrade=force

研究了一通是因为 –upgrade=force ,目前由于我们是bitnami集群时[bitnami/mysql] installed in the k8s cluster keeps prompting that the upgrade fails after restarting · Issue #44854 · bitnami/containers

同时在容器中常见的命令地址如下

1
2
/opt/bitnami/scripts/mysql/entrypoint.sh 
/opt/bitnami/scripts/mysql/run.sh