@@ -2,8 +2,9 @@
return [
'class' => 'yii\db\Connection',
- 'dsn' => 'mysql:host=localhost;dbname=advance',
+ 'dsn' => 'mysql:host=localhost;dbname=log_system',
'username' => 'root',
- 'password' => 'root',
+ 'password' => 'my@123456',
'charset' => 'utf8',
+ 'tablePrefix' => 'amqp_'
];
@@ -0,0 +1,9 @@
+<?php
+
+return [
+ 'class' => 'components\service\Amqp',
+ 'host' => '192.168.3.10',
+ 'port' => '5672',
+ 'user' => 'guest',
+ 'pass' => 'Guest',
+];
+ 'class' => 'yii\redis\Connection',
+ 'hostname' => '192.168.3.10',
+ 'port' => 6378,
+ 'database' => 0,
+ 'password' => 'redis12078',