diff --git a/.env b/.env index 4b62031c..cd9a592a 100644 --- a/.env +++ b/.env @@ -1,11 +1,11 @@ APP_ENV=local APP_DEBUG=true -APP_KEY=SomeRandomString +APP_KEY=base64:qsdpEZeb7sc7dElA7rPn/PHdyc/Vyu4wuKjW5s4HT+g= -DB_HOST=localhost +DB_HOST=127.0.0.1 DB_DATABASE=laravel_base -DB_USERNAME=root -DB_PASSWORD= +DB_USERNAME=Jordan +DB_PASSWORD=123456 CACHE_DRIVER=file SESSION_DRIVER=file diff --git a/config/database.php b/config/database.php index 68670b8b..c0d025e6 100644 --- a/config/database.php +++ b/config/database.php @@ -54,10 +54,10 @@ 'mysql' => [ 'driver' => 'mysql', - 'host' => env('DB_HOST', 'localhost'), + 'host' => env('DB_HOST', '127.0.0.1'), 'database' => env('DB_DATABASE', 'laravel_base'), - 'username' => env('DB_USERNAME', 'root'), - 'password' => env('DB_PASSWORD', ''), + 'username' => env('DB_USERNAME', 'Jordan'), + 'password' => env('DB_PASSWORD', '123456'), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '',