Skip to content

Commit 089163a

Browse files
committed
fallback to mysql 5.6
1 parent b4d70d4 commit 089163a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ git clone https://github.com/junior/springboot-demo-k8s-mysql.git
4444
cd springboot-demo-k8s-mysql/kubernetes
4545
```
4646

47-
### Deploy MySQL 5.7
47+
### Deploy MySQL 5.6
4848

4949
#### Create PVC for MySQl on Oracle Cloud Infrastructure using CSI for Block Volume
5050

@@ -95,7 +95,7 @@ kubectl logs -l app=demoapp --follow
9595
##### Connect to mysql
9696

9797
```shell
98-
kubectl run -it --rm --image=mysql:5.7 --restart=Never mysql-client -- mysql DB -h mysql -pr00tDefaultPassword1!
98+
kubectl run -it --rm --image=mysql:6 --restart=Never mysql-client -- mysql DB -h mysql -pr00tDefaultPassword1!
9999
```
100100

101101
Press enter

kubernetes/mysql-dep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
app: mysql
1616
spec:
1717
containers:
18-
- image: mysql:5.7
18+
- image: mysql:5.6
1919
name: mysql
2020
env:
2121
- name: MYSQL_ROOT_PASSWORD

0 commit comments

Comments
 (0)