Skip to content

Commit dc841dd

Browse files
authored
chore(backend): upgrade mysql to 8.4 (#11917)
Signed-off-by: Humair Khan <[email protected]>
1 parent 7342f2b commit dc841dd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

developer_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Check [this](https://github.com/kubeflow/pipelines/blob/master/test/README.md) p
131131
You can inspect mysql database directly by running:
132132

133133
```bash
134-
kubectl run -it --rm --image=gcr.io/ml-pipeline/mysql:5.6 --restart=Never mysql-client -- mysql -h mysql
134+
kubectl run -it --rm --image=docker.io/library/mysql:8.4 --restart=Never mysql-client -- mysql -h mysql
135135
mysql> use mlpipeline;
136136
mysql> select * from jobs;
137137
```

manifests/kustomize/third-party/mysql/base/mysql-deployment.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ spec:
3737
# mysql_native_password plugin implements native authentication; that is, authentication based on the password
3838
# hashing method in use from before the introduction of pluggable authentication in MySQL 8.0.
3939
#
40-
# As default_authentication_plugin option is deprecated in MySQL 8.0.27 this needs to be replaced with
41-
# appropriate authentication_policy in the next upgrade. See more details:
42-
# https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
43-
# https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_authentication_policy
44-
- --default-authentication-plugin=mysql_native_password
40+
# The mysql_native_password authentication plugin is deprecated as of MySQL 8.0.34, disabled by default
41+
# in MySQL 8.4, and removed as of MySQL 9.0.0:
42+
# https://dev.mysql.com/doc/refman/8.4/en/native-pluggable-authentication.html
43+
- --authentication-policy=mysql_native_password
44+
- --mysql-native-password=ON
4545
# Disable binlog as the logs grow fast and eat up all disk spaces eventually. And KFP doesn't currently utilize binlog.
4646
# https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#option_mysqld_log-bin
4747
- --disable-log-bin
4848
env:
4949
- name: MYSQL_ALLOW_EMPTY_PASSWORD
5050
value: "true"
51-
image: gcr.io/ml-pipeline/mysql:8.0.26
51+
image: mysql:8.4
5252
name: mysql
5353
ports:
5454
- containerPort: 3306

0 commit comments

Comments
 (0)