We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 638aa8c + 7a1d66c commit cfced66Copy full SHA for cfced66
.env.example
@@ -2,6 +2,7 @@ APP_NAME=skeleton
2
3
DB_DRIVER=mysql
4
DB_HOST=localhost
5
+DB_PORT=3306
6
DB_DATABASE=hyperf
7
DB_USERNAME=root
8
DB_PASSWORD=
config/autoload/databases.php
@@ -15,6 +15,7 @@
15
'driver' => env('DB_DRIVER', 'mysql'),
16
'host' => env('DB_HOST', 'localhost'),
17
'database' => env('DB_DATABASE', 'hyperf'),
18
+ 'port' => env('DB_PORT', 3306),
19
'username' => env('DB_USERNAME', 'root'),
20
'password' => env('DB_PASSWORD', ''),
21
'charset' => env('DB_CHARSET', 'utf8'),
0 commit comments