Skip to content

Commit

Permalink
Merge pull request #4 from xuchunlong/master
Browse files Browse the repository at this point in the history
Add Database Link Port
  • Loading branch information
huangzhhui authored Jun 24, 2019
2 parents 638aa8c + 7a1d66c commit cfced66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ APP_NAME=skeleton

DB_DRIVER=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=hyperf
DB_USERNAME=root
DB_PASSWORD=
Expand Down
1 change: 1 addition & 0 deletions config/autoload/databases.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'driver' => env('DB_DRIVER', 'mysql'),
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'hyperf'),
'port' => env('DB_PORT', 3306),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'charset' => env('DB_CHARSET', 'utf8'),
Expand Down

0 comments on commit cfced66

Please sign in to comment.