Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 538e70b

Browse files
committed
ci: 🎡 MySQL に root ではログインできないのでアカウント情報を修正した
1 parent fa52ab1 commit 538e70b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.circleci/config.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
- MYSQL_DATABASE: suikoden_election_2017_test
1515
- image: cimg/mysql:5.7.38
1616
environment:
17-
MYSQL_USER: root
18-
MYSQL_ROOT_PASSWORD: root
17+
MYSQL_USER: gss2017
18+
MYSQL_PASSWORD: gss2017_pasword
19+
MYSQL_ROOT_PASSWORD: root_password
1920
MYSQL_PORT: 3306
2021
MYSQL_DATABASE: suikoden_election_2017_test
2122
working_directory: ~/repo

config/database.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ test:
2929
<<: *default
3030
host: <%= ENV['MYSQL_HOST_TEST'] || '127.0.0.1' %>
3131
port: <%= ENV['MYSQL_PORT_TEST'] || 3306 %>
32-
username: <%= ENV['MYSQL_USERNAME_TEST'] || 'root' %>
33-
password: <%= ENV['MYSQL_PASSWORD_TEST'] || 'root' %>
32+
username: <%= ENV['MYSQL_USERNAME_TEST'] || 'gss2017' %>
33+
password: <%= ENV['MYSQL_PASSWORD_TEST'] || 'gss2017_pasword' %>
3434
database: <%= ENV['MYSQL_DATABASE_TEST'] || 'suikoden_election_2017_test' %>

0 commit comments

Comments
 (0)