]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
настройка внешнего подключения к базе сайта origin/feature_filippov_20250114_external_db_name_fix
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Wed, 15 Jan 2025 06:40:38 +0000 (09:40 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Wed, 15 Jan 2025 06:40:38 +0000 (09:40 +0300)
erp24/config/console.php
erp24/config/dev.console.config.php
erp24/config/prod.console.config.php
erp24/config/web.php

index 4dc6ab8b5d699cbf5a54f6b1ac8771f6db7f7b1b..9a33339db428521a26a4cb4f8c591b0fecc9fefe 100755 (executable)
@@ -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',
index de8b846d06b33017b69017dbac13ab11d9d84c4d..6835ef5c024b4bad71e99f1c19931a8c3721a4af 100755 (executable)
@@ -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',
index 2ee4ed254664b35f1236d38315e0c874b431a1ab..96e2e41b71ee1769a65a5a1dd80684b7d342d04d 100755 (executable)
@@ -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',
index 36d339a0ba8374f1ab12ef01c08d3cf869a0a483..184a479d286fca850b4aa55db761ee3f1ab92af3 100644 (file)
@@ -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',