Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database.php updates #94

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
database.php updates
ellie21520813 committed Jun 27, 2024
commit 05017e9a45bf399cb1bda003cd1d1953e4eb0b8b
13 changes: 7 additions & 6 deletions .env
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_KEY=base64:iAcSe1H4GLb4H0hgA5HTh4VGLHtH9ZZt+mjF0pUKLzw=

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
DB_HOST=msdocs-laravel-mysql-32333-server.mysql.database.azure.com
DB_DATABASE=sampledb
DB_USERNAME=doan1
DB_PASSWORD=nh6462
MYSQL_SSL=true
DB_SSL_CA=ssl/DigiCertGlobalRootCA.crt.pem
3 changes: 2 additions & 1 deletion config/database.php
Original file line number Diff line number Diff line change
@@ -59,8 +59,9 @@
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),

]) : [],

],

'pgsql' => [