質問編集履歴
4
自分で調べた事の追記をしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -58,4 +58,22 @@
|
|
58
58
|
|
59
59
|
```
|
60
60
|
|
61
|
+
|
62
|
+
|
63
|
+
```
|
64
|
+
|
65
|
+
Grants for root@localhost: GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRAN
|
66
|
+
|
67
|
+
T OPTION
|
68
|
+
|
69
|
+
2 rows in set (0.00 sec)
|
70
|
+
|
71
|
+
```
|
72
|
+
|
73
|
+
の部分に関して、PHPmyadminから権限を付与しようとしたところ、
|
74
|
+
|
61
|
-
|
75
|
+
SQLSTATE[42000]#1133というエラーが出ていました。
|
76
|
+
|
77
|
+
権限付与の際にパスワードを入力しないと出るエラーのようですが・・・
|
78
|
+
|
79
|
+
パスワードは初期の空状態から追加していません。パスワードを追加すればできるのでしょうか。
|
3
改行の再度見直し
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,13 +24,19 @@
|
|
24
24
|
|
25
25
|
```
|
26
26
|
|
27
|
-
|
27
|
+
*************************** 1. row ***************************
|
28
28
|
|
29
|
-
|
29
|
+
Grants for root@localhost: GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
+
*************************** 2. row ***************************
|
34
|
+
|
33
|
-
|
35
|
+
Grants for root@localhost: GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION
|
36
|
+
|
37
|
+
2 rows in set (0.00 sec)
|
38
|
+
|
39
|
+
|
34
40
|
|
35
41
|
```
|
36
42
|
|
2
改行の見直し
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,7 +24,11 @@
|
|
24
24
|
|
25
25
|
```
|
26
26
|
|
27
|
-
MariaDB [(none)]> show grants for 'root'@'localhost'\G
|
27
|
+
MariaDB [(none)]> show grants for 'root'@'localhost'\G
|
28
|
+
|
29
|
+
*************************** 1. row *************************** Grants for root@localhost: GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WIT H GRANT OPTION ***************************
|
30
|
+
|
31
|
+
|
28
32
|
|
29
33
|
2. row *************************** Grants for root@localhost: GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRAN T OPTION 2 rows in set (0.00 sec)
|
30
34
|
|
1
DB接続確認までいったことの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -19,3 +19,33 @@
|
|
19
19
|
a connection from any (%) host
|
20
20
|
|
21
21
|
```
|
22
|
+
|
23
|
+
show grantsの結果
|
24
|
+
|
25
|
+
```
|
26
|
+
|
27
|
+
MariaDB [(none)]> show grants for 'root'@'localhost'\G *************************** 1. row *************************** Grants for root@localhost: GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WIT H GRANT OPTION ***************************
|
28
|
+
|
29
|
+
2. row *************************** Grants for root@localhost: GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRAN T OPTION 2 rows in set (0.00 sec)
|
30
|
+
|
31
|
+
```
|
32
|
+
|
33
|
+
この後
|
34
|
+
|
35
|
+
https://laravel10.wordpress.com/2015/02/21/%E3%83%87%E3%83%BC%E3%82%BF%E3%83%99%E3%83%BC%E3%82%B9%E3%81%AE%E7%92%B0%E5%A2%83%E8%A8%AD%E5%AE%9A/
|
36
|
+
|
37
|
+
の
|
38
|
+
|
39
|
+
DB接続確認
|
40
|
+
|
41
|
+
```
|
42
|
+
|
43
|
+
>>> App\User::all()->toArray();
|
44
|
+
|
45
|
+
=> []
|
46
|
+
|
47
|
+
>>>
|
48
|
+
|
49
|
+
```
|
50
|
+
|
51
|
+
ここまでいけました。これはうまくいっているということでいいですよね?
|