I tried all solutions
localhost
localhost:3306
localhost:3307
There is always DB connection error.
Problem happens only on the system below:
Operating System and version: Linux DSHome 3.10.102 #15217 SMP Wed Dec 20 17:38:04 CST 2017 x86_64 GNU/Linux synology_bromolow_3615xs
This is Synology NAS.
Installation on local XAMPP server was ok.
Then I tried to move installed system with sql dump to Synology and again DB connection error.
This Synology has adopted package SugarCRM 6.5 which installed correctly withou any error.
Then I compare cofig of Sugar and Suite and ccannot find any difference. But Sugar works and Suite is not working.
SugarCRM 6.5.24 config file
'dbconfig' =>
array (
'db_host_name' => 'localhost',
'db_host_instance' => 'SQLEXPRESS',
'db_user_name' => 'root',
'db_password' => '***',
'db_name' => 'sugarcrm',
'db_type' => 'mysql',
'db_port' => '',
'db_manager' => 'MysqliManager',
),
'dbconfigoption' =>
array (
'persistent' => true,
'autofree' => false,
'debug' => 0,
'ssl' => false,
),
SuiterCRM 7.9.8 config file
'dbconfig' =>
array (
'db_host_name' => 'localhost',
'db_host_instance' => 'SQLEXPRESS',
'db_user_name' => 'root',
'db_password' => '***',
'db_name' => 'crm',
'db_type' => 'mysqli',
'db_port' => '',
'db_manager' => 'MysqliManager',
),
'dbconfigoption' =>
array (
'persistent' => true,
'autofree' => false,
'debug' => 0,
'ssl' => false,
'collation' => 'utf8_general_ci',
),
Sugar is working and Suite gives me following error
( ! ) Fatal error: Uncaught Exception: Невозможно установить соединение с базой данных. Более подробная информация находится в файле suitecrm.log. in /volume1/web/crm/include/utils.php on line 1762
( ! ) Exception: Невозможно установить соединение с базой данных. Более подробная информация находится в файле suitecrm.log. in /volume1/web/crm/include/utils.php on line 1762
Call Stack
# Time Memory Function Location
1 0.0001 362512 {main}( ) .../index.php:0
2 0.0002 363224 require_once( '/volume1/web/crm/include/entryPoint.php' ) .../index.php:47
3 0.0067 1717256 DBManagerFactory::getInstance( ) .../entryPoint.php:179
4 0.0068 1748288 MysqliManager->connect( ) .../DBManagerFactory.php:147
5 0.0070 1748848 sugar_die( ) .../MysqliManager.php:290
And changing db_type from mysqli to mysql doesn’t change php error.