You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found and fixed an issue where my dotenv values were not being used for database authentication. Just a naming mismatch in the new config code. The following fixes the issue:
diff --git a/config/database.php b/config/database.php
index c7ee2187..2e6a1499 100644
--- a/config/database.php
+++ b/config/database.php
@@ -17,7 +17,7 @@ return [
| Connection type. Can be "host" to connect to a hostname, or "socket" to
| connect to a unix socket.
*/
- 'db_conn_type' => env('DB_CONNECTION_TYPE', 'host'),
+ 'db_connection_type' => env('DB_CONNECTION_TYPE', 'host'),
/*
|
@@ -63,5 +63,5 @@ return [
|
| Database type. can be any supported PDO driver ; (http://php.net/manual/en/pdo.drivers.php)
*/
- 'db_driver' => env('DRIVER','mysql')
+ 'db_driver' => env('DB_DRIVER','mysql')
];
The text was updated successfully, but these errors were encountered:
Found and fixed an issue where my dotenv values were not being used for database authentication. Just a naming mismatch in the new config code. The following fixes the issue:
The text was updated successfully, but these errors were encountered: