質問編集履歴

2

ブロックにして見やすく変更させました。

2020/03/27 07:30

投稿

sui_nano
sui_nano

スコア9

test CHANGED
File without changes
test CHANGED
@@ -47,6 +47,10 @@
47
47
  DB_PASSWORD=
48
48
 
49
49
 
50
+
51
+ ```
52
+
53
+ ```php
50
54
 
51
55
  database.php
52
56
 
@@ -104,11 +108,11 @@
104
108
 
105
109
 
106
110
 
107
- 同じような質問をされていた方の解決法は大体は行いました。
108
-
109
111
 
110
112
 
111
113
  ### 補足情報(FW/ツールのバージョンなど)
114
+
115
+ ```ここに言語を入力
112
116
 
113
117
  Database server
114
118
 
@@ -130,14 +134,4 @@
130
134
 
131
135
 
132
136
 
133
- Web server
137
+ ```
134
-
135
-
136
-
137
- Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.4.1 mod_ssl/2.2.34 OpenSSL/1.0.2o DAV/2 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11 Perl/v5.24.0
138
-
139
- Database client version: libmysql - mysqlnd 7.4.1
140
-
141
- PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
142
-
143
- PHP version: 7.4.1

1

見やすいように修正しました。よろしくお願いします。

2020/03/27 07:30

投稿

sui_nano
sui_nano

スコア9

test CHANGED
File without changes
test CHANGED
@@ -16,41 +16,9 @@
16
16
 
17
17
  ```
18
18
 
19
- エラーメッセージ
19
+ エラーメッセージ SQLSTATE[HY000] [1049] Unknown database 'todo' (SQL: select * from information_schema.tables where table_schema = todo and table_name = migrations and table_type = 'BASE TABLE')
20
20
 
21
- ``` Illuminate\Database\QueryException
22
-
23
-
24
-
25
- SQLSTATE[HY000] [1049] Unknown database 'todo' (SQL: select * from information_schema.tables where table_schema = todo and table_name = migrations and table_type = 'BASE TABLE')
26
-
27
-
28
-
29
- at vendor/laravel/framework/src/Illuminate/Database/Connection.php:669
30
-
31
- 665| // If an exception occurs when attempting to run a query, we'll format the error
32
-
33
- 666| // message to include the bindings with SQL, which will make this exception a
34
-
35
- 667| // lot more helpful to the developer instead of just the database's errors.
36
-
37
- 668| catch (Exception $e) {
38
-
39
- > 669| throw new QueryException(
40
-
41
- 670| $query, $this->prepareBindings($bindings), $e
42
-
43
- 671| );
44
-
45
- 672| }
46
-
47
- 673|
21
+ ```
48
-
49
-
50
-
51
- +34 vendor frames
52
-
53
- 35 artisan:37
54
22
 
55
23
 
56
24
 
@@ -58,7 +26,13 @@
58
26
 
59
27
  ### 該当のソースコード
60
28
 
29
+
30
+
31
+
32
+
33
+ ```php
34
+
61
- .env
35
+ env
62
36
 
63
37
  DB_CONNECTION=mysql
64
38
 
@@ -120,10 +94,6 @@
120
94
 
121
95
 
122
96
 
123
- ```ここに言語名を入力
124
-
125
- ソースコード
126
-
127
97
  ```
128
98
 
129
99
 
@@ -158,6 +128,8 @@
158
128
 
159
129
  Server charset: UTF-8 Unicode (utf8)
160
130
 
131
+
132
+
161
133
  Web server
162
134
 
163
135