質問編集履歴

1

修正しました!ec2上でログインした状態でこれからMySQLを立ち上げようと思っているところです。[ec2-user@ip-パブリックIPアドレス ~]$

2020/04/17 03:04

投稿

taku103
taku103

スコア7

test CHANGED
File without changes
test CHANGED
@@ -28,7 +28,7 @@
28
28
 
29
29
  ```
30
30
 
31
- sudo /usr/libexec/mysql56/mysqladmin -u root password 'ここを設定したいパスワードに変更してからコマンドを実行してください'
31
+ [ec2-user@ip-パブリックIPアドレス ~]$ sudo /usr/libexec/mysql56/mysqladmin -u root password 'ここを設定したいパスワードに変更してからコマンドを実行してください'
32
32
 
33
33
  Warning: Using a password on the command line interface can be insecure.
34
34
 
@@ -70,7 +70,7 @@
70
70
 
71
71
  ```
72
72
 
73
- sudo /usr/libexec/mysql56/mysqladmin -u root password 'password'
73
+ [ec2-user@ip-パブリックIPアドレス ~]$ sudo /usr/libexec/mysql56/mysqladmin -u root password 'password'
74
74
 
75
75
  ```
76
76