From: Aleksey Filippov Date: Wed, 15 Jan 2025 06:40:38 +0000 (+0300) Subject: настройка внешнего подключения к базе сайта X-Git-Tag: 1.7~79^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=cbddb17b9fdfd91b63e03ad5c84e58bd91640f7b;p=erp24_rep%2Fyii-erp24%2F.git настройка внешнего подключения к базе сайта --- diff --git a/erp24/config/console.php b/erp24/config/console.php index 4dc6ab8b..9a33339d 100755 --- a/erp24/config/console.php +++ b/erp24/config/console.php @@ -51,7 +51,7 @@ $config = [ 'db' => require dirname(__DIR__) . '/config/db.php', 'dbRemote' => [ 'class' => 'yii\db\Connection', - 'dsn' => 'mysql:host=51.250.50.134;port=3306;dbname=cms', + 'dsn' => 'mysql:host=89.111.174.11;port=3306;dbname=cms', 'username' => 'ERP24_user', 'password' => 'HJG6rtrhqaweruit*^%^2139487HUIG', 'charset' => 'utf8mb4', diff --git a/erp24/config/dev.console.config.php b/erp24/config/dev.console.config.php index de8b846d..6835ef5c 100755 --- a/erp24/config/dev.console.config.php +++ b/erp24/config/dev.console.config.php @@ -35,7 +35,7 @@ return [ 'db' => require dirname(__DIR__) . '/config/db.php', 'dbRemote' => [ 'class' => 'yii\db\Connection', - 'dsn' => 'mysql:host=51.250.50.134;port=3306;dbname=cms', + 'dsn' => 'mysql:host=89.111.174.11;port=3306;dbname=cms', 'username' => 'ERP24_user', 'password' => 'HJG6rtrhqaweruit*^%^2139487HUIG', 'charset' => 'utf8mb4', diff --git a/erp24/config/prod.console.config.php b/erp24/config/prod.console.config.php index 2ee4ed25..96e2e41b 100755 --- a/erp24/config/prod.console.config.php +++ b/erp24/config/prod.console.config.php @@ -38,7 +38,7 @@ return [ 'db' => require dirname(__DIR__) . '/config/db.php', 'dbRemote' => [ 'class' => 'yii\db\Connection', - 'dsn' => 'mysql:host=51.250.50.134;port=3306;dbname=cms', + 'dsn' => 'mysql:host=89.111.174.11;port=3306;dbname=cms', 'username' => 'ERP24_user', 'password' => 'HJG6rtrhqaweruit*^%^2139487HUIG', 'charset' => 'utf8mb4', diff --git a/erp24/config/web.php b/erp24/config/web.php index 36d339a0..184a479d 100644 --- a/erp24/config/web.php +++ b/erp24/config/web.php @@ -71,7 +71,7 @@ $config = [ 'db' => $db, 'dbRemote' => [ 'class' => 'yii\db\Connection', - 'dsn' => 'mysql:host=51.250.50.134;port=3306;dbname=cms', + 'dsn' => 'mysql:host=89.111.174.11;port=3306;dbname=cms', 'username' => 'ERP24_user', 'password' => 'HJG6rtrhqaweruit*^%^2139487HUIG', 'charset' => 'utf8mb4',