質問編集履歴
1
データベースの設定変更によるエラーの更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
```
|
7
|
+
```bash
|
8
8
|
|
9
9
|
[vagrant@localhost laravel]$ php artisan admin:install
|
10
10
|
|
@@ -61,3 +61,63 @@
|
|
61
61
|
また、エラーの内容に沿って[こちら](https://stackoverflow.com/questions/28644344/access-denied-for-user-homesteadlocalhost-in-laravel-5)を一通り試してみましたが解消されませんでしたので質問させて頂いた次第です。
|
62
62
|
|
63
63
|
解決方法が分かる方がいましたらご教示の程、宜しくお願いします。
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
追記:データベースの設定を変更したところエラーが以下に変わりました。
|
70
|
+
|
71
|
+
```bash
|
72
|
+
|
73
|
+
[vagrant@localhost laravel]$ php artisan admin:install
|
74
|
+
|
75
|
+
Nothing to migrate.
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
Illuminate\Database\QueryException : SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysql.administrators' doesn't exist (SQL: select count(*) as aggregate from `administrators`)
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
at /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
|
84
|
+
|
85
|
+
660| // If an exception occurs when attempting to run a query, we'll format the error
|
86
|
+
|
87
|
+
661| // message to include the bindings with SQL, which will make this exception a
|
88
|
+
|
89
|
+
662| // lot more helpful to the developer instead of just the database's errors.
|
90
|
+
|
91
|
+
663| catch (Exception $e) {
|
92
|
+
|
93
|
+
> 664| throw new QueryException(
|
94
|
+
|
95
|
+
665| $query, $this->prepareBindings($bindings), $e
|
96
|
+
|
97
|
+
666| );
|
98
|
+
|
99
|
+
667| }
|
100
|
+
|
101
|
+
668|
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
Exception trace:
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
1 PDOException::("SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysql.administrators' doesn't exist")
|
110
|
+
|
111
|
+
/var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Connection.php:326
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
2 PDO::prepare("select count(*) as aggregate from `administrators`")
|
116
|
+
|
117
|
+
/var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Connection.php:326
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
Please use the argument -v to see more details.
|
122
|
+
|
123
|
+
```
|