質問編集履歴
2
説明不足のため
test
CHANGED
File without changes
|
test
CHANGED
@@ -212,6 +212,8 @@
|
|
212
212
|
|
213
213
|
database.yml
|
214
214
|
|
215
|
+
|
216
|
+
|
215
217
|
default: #&default
|
216
218
|
|
217
219
|
adapter: mysql2
|
1
説明不足のため
test
CHANGED
File without changes
|
test
CHANGED
@@ -205,3 +205,55 @@
|
|
205
205
|
初心者で言葉足らずで申し訳ありませんがご教示頂けたらと思い質問させて頂きました。
|
206
206
|
|
207
207
|
宜しくお願い致します。
|
208
|
+
|
209
|
+
### 補足2
|
210
|
+
|
211
|
+
```
|
212
|
+
|
213
|
+
database.yml
|
214
|
+
|
215
|
+
default: #&default
|
216
|
+
|
217
|
+
adapter: mysql2
|
218
|
+
|
219
|
+
encoding: utf8
|
220
|
+
|
221
|
+
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
222
|
+
|
223
|
+
username: root
|
224
|
+
|
225
|
+
password: kenichi1203
|
226
|
+
|
227
|
+
socket: /tmp/mysql.sock
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
development:
|
232
|
+
|
233
|
+
#<<: *default
|
234
|
+
|
235
|
+
database: Dr_nishi_development
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
test:
|
240
|
+
|
241
|
+
#<<: *default
|
242
|
+
|
243
|
+
database: Dr_nishi_test
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
production:
|
248
|
+
|
249
|
+
#<<: *default
|
250
|
+
|
251
|
+
database: Dr_nishi_production
|
252
|
+
|
253
|
+
username: root
|
254
|
+
|
255
|
+
password: Kenichi@1203
|
256
|
+
|
257
|
+
socket: /var/lib/mysql/mysql.sock
|
258
|
+
|
259
|
+
```
|