質問編集履歴

5

たぐ追加

2018/09/27 05:31

投稿

murphy
murphy

スコア8

test CHANGED
File without changes
test CHANGED
File without changes

4

moge

2018/09/27 05:31

投稿

murphy
murphy

スコア8

test CHANGED
File without changes
test CHANGED
@@ -104,11 +104,19 @@
104
104
 
105
105
  ### 補足情報
106
106
 
107
+ - 環境状況は以下になります
108
+
109
+ os|web|docker|php|mysql|laravel|
110
+
111
+ |:--:|:--:|:--:|:--:|:--:|:--:|
112
+
113
+ |centos7|nginx|18.06.1-ce|7.2.10|8|5.7.6|
114
+
115
+
116
+
107
- * mysqlにdatabaseは既にcreateしていま(ログインできる)
117
+ - hogehogeという名前のdatabaseは既に作成済みです(ログインできる)
108
-
109
-
110
-
118
+
111
- * 以下にインストールしたモジュールを記載します
119
+ * 以下にインストールしたモジュールをリスト記載します
112
120
 
113
121
  ```
114
122
 

3

hoge

2018/09/27 05:20

投稿

murphy
murphy

スコア8

test CHANGED
File without changes
test CHANGED
@@ -94,7 +94,7 @@
94
94
 
95
95
  123xxx(Dockerのホスト) or 12.34.56.78(DockerホストのIP)
96
96
 
97
- - Host '123xxx' is not allowed to connect to this MySQL server
97
+ - SQLSTATE[HY000] [1130] Host '123xxx' is not allowed to connect to this MySQL serverというエラーになる
98
98
 
99
99
  ```
100
100
 

2

修正

2018/09/27 05:11

投稿

murphy
murphy

スコア8

test CHANGED
File without changes
test CHANGED
@@ -86,23 +86,33 @@
86
86
 
87
87
  ```
88
88
 
89
- localhost, 127.0.01
89
+ localhost or 127.0.01
90
-
90
+
91
- 172.17.0.2(ifconfigのeth0から)
91
+ - SQLSTATE[HY000] [2006] MySQL server has gone awayというエラーになる
92
-
92
+
93
+
94
+
93
- 123xxx(Dockerのホスト),12.34.56.78(DockerホストのIP)
95
+ 123xxx(Dockerのホスト) or 12.34.56.78(DockerホストのIP)
96
+
94
-
97
+ - Host '123xxx' is not allowed to connect to this MySQL server
98
+
95
- ```
99
+ ```
100
+
96
-
101
+ になります。
102
+
103
+
104
+
97
-
105
+ ### 補足情報
106
+
98
-
107
+ * mysqlにdatabaseは既にcreateしています。(ログインできる)
108
+
109
+
110
+
99
- ### 補足情報(以下にインストールしたモジュールを記載します
111
+ * 以下にインストールしたモジュールを記載します
100
-
101
-
102
-
112
+
103
- ```
113
+ ```
104
-
114
+
105
- [root@76b0076847f5 reborn-laravel]# php -m
115
+ [root@123xxx fugafuga]# php -m
106
116
 
107
117
  [PHP Modules]
108
118
 

1

概要の説明の修正

2018/09/27 05:07

投稿

murphy
murphy

スコア8

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- ### php artisan migrate時にnew PDOできない問題を解決したいです。
1
+ ### php artisan migrate時にnew PDOConnectionできない問題を解決したいです。
2
2
 
3
3
 
4
4