Skip to content

Commit

Permalink
Merge pull request ACloudGuru-Resources#2 from jylenhof/master
Browse files Browse the repository at this point in the history
Fix Error Establishing a Database Connection
  • Loading branch information
timhberry authored Mar 25, 2021
2 parents 122f92e + f94ac38 commit e1d0637
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Chapter_Three/Lecture_6_Lab/mysql-demo/mysql-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ spec:
- image: mysql:5.6
name: mysql
env:
- name: MYSQL_DATABASE
value: wordpress
- name: MYSQL_ROOT_PASSWORD
valueFrom:
secretKeyRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ spec:
env:
- name: WORDPRESS_DB_HOST
value: mysql:3306
- name: WORDPRESS_DB_NAME
value: wordpress
- name: WORDPRESS_DB_USER
value: root
- name: WORDPRESS_DB_PASSWORD
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit e1d0637

Please sign in to comment.