diff --git a/.env.example b/.env.example index 043d5530e..c6cb783b7 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,6 @@ DB_CONNECTION=nntmux DB_SYSTEM=mysql -DB_HOST=localhost +DB_HOST=127.0.0.1 DB_PORT=3306 DB_SOCKET= DB_USER= diff --git a/Changelog b/Changelog index 26ca0b733..9f42f629f 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2017-09-01 DariusIII + * Chg: Update database connection settings * Chg: Update Movie class * Chg: Remove now unused nntmux/db/Settings class * Chg: Rename Models/Settings value function into settingValue to prevent collision with query builder value response diff --git a/config/nntmux.php b/config/nntmux.php index ada701985..c77a4f8aa 100644 --- a/config/nntmux.php +++ b/config/nntmux.php @@ -12,7 +12,7 @@ $capsule = new Capsule; $capsule->addConnection([ 'driver' => env('DB_SYSTEM'), - 'host' => env('DB_HOST', '127.0.0.1'), + 'host' => env('DB_HOST', 'localhost'), 'port' => env('DB_PORT', '3306'), 'database' => env('DB_NAME', 'nntmux'), 'username' => env('DB_USER', 'root'),