this is my database.php i declared these rds variables correctly in .env file I got this error No connection could be made because the target machine actively refused it.
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
],
'mysql' => [
'driver' => 'mysql',
'host' => env('RDS_DB_SERVER'),
'port' => env('RDS_DB_PORT'),
'database' => env('RDS_DB_DATABASE'),
'username' => env('RDS_DB_USERNAME'),
'password' => env('RDS_DB_PASSWORD'),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2y1esBw
via IFTTT
Aucun commentaire:
Enregistrer un commentaire