質問編集履歴

2

個人情報を削除しました

2019/10/04 10:14

投稿

begenner
begenner

スコア79

test CHANGED
File without changes
test CHANGED
@@ -302,7 +302,7 @@
302
302
 
303
303
  ```bash
304
304
 
305
- [ec2user@ip-10-0-1-127 ~]$ ps ax | grep mysql
305
+ [ec2user@ip-xxx-xxx-xxx-xxx ~]$ ps ax | grep mysql
306
306
 
307
307
  # 25114 pts/1 S+ 0:00 mysql -h RDSのエンドポイント -P 3306 -u root -p
308
308
 
@@ -310,7 +310,7 @@
310
310
 
311
311
 
312
312
 
313
- [ec2user@ip-10-0-1-127 ~]$ mysql --help | grep my.cnf
313
+ [ec2user@ip-xxx-xxx-xxx-xxx ~]$ mysql --help | grep my.cnf
314
314
 
315
315
  # /etc/mysql/my.cnf /etc/my.cnf ~/.my.cnf
316
316
 
@@ -318,7 +318,7 @@
318
318
 
319
319
 
320
320
 
321
- [ec2user@ip-10-0-1-127 ~]$ ps ax | grep mysql
321
+ [ec2user@ip-xxx-xxx-xxx-xxx ~]$ ps ax | grep mysql
322
322
 
323
323
  # 25114 pts/1 S+ 0:00 mysql -h RDSのエンドポイント -P 3306 -u root -p
324
324
 
@@ -326,13 +326,13 @@
326
326
 
327
327
 
328
328
 
329
- [ec2user@ip-10-0-1-127 ~]$ cat /etc/mysql/my.cnf
329
+ [ec2user@ip-xxx-xxx-xxx-xxx ~]$ cat /etc/mysql/my.cnf
330
330
 
331
331
  # cat: /etc/mysql/my.cnf: No such file or directory
332
332
 
333
333
 
334
334
 
335
- [ec2user@ip-10-0-1-127 ~]$ cat /etc/my.cnf
335
+ [ec2user@ip-xxx-xxx-xxx-xxx ~]$ cat /etc/my.cnf
336
336
 
337
337
  [mysqld]
338
338
 
@@ -372,7 +372,7 @@
372
372
 
373
373
 
374
374
 
375
- [ec2user@ip-10-0-1-127 ~]$ cat ~/.my.cnf
375
+ [ec2user@ip-xxx-xxx-xxx-xxx ~]$ cat ~/.my.cnf
376
376
 
377
377
  # cat: /home/ec2user/.my.cnf: No such file or directory
378
378
 

1

タイトルを変更しました

2019/10/04 10:14

投稿

begenner
begenner

スコア79

test CHANGED
@@ -1 +1 @@
1
- AWSのRailsアプリで
1
+ AWSのRailsアプリでテストデータが作成できない(Mysql2::Error::ConnectionError: Can't connect to local MySQL server ...)
test CHANGED
File without changes