Created
January 23, 2017 15:55
-
-
Save andybeak/47e89385c305b21966b22d193d132500 to your computer and use it in GitHub Desktop.
SSL database connection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'project_ssl' => [ | |
'driver' => 'mysql', | |
'host' => env('DB_HOST', 'localhost'), | |
'database' => env('DB_DATABASE_PROJECT'), | |
'username' => env('DB_USERNAME'), | |
'password' => env('DB_PASSWORD'), | |
'charset' => 'utf8', | |
'collation' => 'utf8_unicode_ci', | |
'prefix' => '', | |
'strict' => false, | |
'options' => [ | |
PDO::MYSQL_ATTR_SSL_CA => storage_path() . 'app/mysql_ssl_certificate/rds-combined-ca-bundle.pem' | |
], | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment