return [
'APP_DB_NAME' => 'shop'
( ... )
];
use
// app/config/database.php
'connections' => array(
'mysql' => array(
'driver' => 'mysql',
'host' => $_ENV['APP_DB_HOST'],
'database' => $_ENV['APP_DB_NAME'],
'username' => $_ENV['APP_DB_USER'],
'password' => $_ENV['APP_DB_PASSWORD'],
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
),
Thank you very much! appreciated tap on the back!
best regards
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community