Fix #51 Use DB_CONNECTION and not DB_DRIVER by default to configure the database access

This commit is contained in:
Timothée Jaussoin 2022-10-26 11:12:21 +02:00
parent 668a7758c4
commit 51774c0cc9
3 changed files with 5 additions and 5 deletions

View file

@ -46,9 +46,9 @@ PRIVACY_POLICY_URL= # A URL pointing to the Privacy Policy
LOG_CHANNEL=stack
# External FlexiSIP database
# FlexiSIP database
# Ensure that you have the proper SELinux configuration to allow database connections, see the README
DB_DRIVER=mysql
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=flexisip

View file

@ -32,7 +32,7 @@ return [
|
*/
'default' => 'mysql',
'default' => env('DB_CONNECTION', 'mysql'),
/*
|--------------------------------------------------------------------------
@ -73,7 +73,7 @@ return [
],
'pgsql' => [
'driver' => 'pgsql',
'driver' => env('DB_DRIVER', 'pgsql'),
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '5432'),

View file

@ -8,7 +8,7 @@
#%define _datadir %{_datarootdir}
#%define _docdir %{_datadir}/doc
%define build_number 159
%define build_number 160
%define var_dir /var/opt/belledonne-communications
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager