1234567891011121314151617181920212223242526272829303132333435 |
- Exception 'yii\db\Exception' with message 'SQLSTATE[HY000] [2002] Connection refused'
- in /app/code/yii2/advance/vendor/yiisoft/yii2/db/Connection.php:597
- Stack trace:
- #0 /app/code/yii2/advance/vendor/yiisoft/yii2/db/Connection.php(943): yii\db\Connection->open()
- #1 /app/code/yii2/advance/vendor/yiisoft/yii2/db/Connection.php(930): yii\db\Connection->getMasterPdo()
- #2 /app/code/yii2/advance/vendor/yiisoft/yii2/db/Command.php(243): yii\db\Connection->getSlavePdo()
- #3 /app/code/yii2/advance/vendor/yiisoft/yii2/db/Command.php(1062): yii\db\Command->prepare(true)
- #4 /app/code/yii2/advance/vendor/yiisoft/yii2/db/Command.php(386): yii\db\Command->queryInternal('fetchAll', NULL)
- #5 /app/code/yii2/advance/vendor/yiisoft/yii2/db/mysql/Schema.php(320): yii\db\Command->queryAll()
- #6 /app/code/yii2/advance/vendor/yiisoft/yii2/db/mysql/Schema.php(111): yii\db\mysql\Schema->findColumns(Object(yii\db\TableSchema))
- #7 /app/code/yii2/advance/vendor/yiisoft/yii2/db/Schema.php(662): yii\db\mysql\Schema->loadTableSchema('rabbit_log')
- #8 /app/code/yii2/advance/vendor/yiisoft/yii2/db/Schema.php(173): yii\db\Schema->getTableMetadata('rabbit_log', 'schema', false)
- #9 /app/code/yii2/advance/vendor/yiisoft/yii2/db/ActiveRecord.php(346): yii\db\Schema->getTableSchema('rabbit_log')
- #10 /app/code/yii2/advance/vendor/yiisoft/yii2/db/ActiveRecord.php(380): yii\db\ActiveRecord::getTableSchema()
- #11 /app/code/yii2/advance/vendor/yiisoft/yii2/db/BaseActiveRecord.php(474): yii\db\ActiveRecord->attributes()
- #12 /app/code/yii2/advance/vendor/yiisoft/yii2/db/BaseActiveRecord.php(304): yii\db\BaseActiveRecord->hasAttribute('msg')
- #13 /app/code/yii2/advance/console/controllers/RabbitUserController.php(106): yii\db\BaseActiveRecord->__set('msg', '{"body":"{\\"typ...')
- #14 [internal function]: console\controllers\RabbitUserController->console\controllers\{closure}(Object(PhpAmqpLib\Message\AMQPMessage))
- #15 /app/code/yii2/advance/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AMQPChannel.php(983): call_user_func(Object(Closure), Object(PhpAmqpLib\Message\AMQPMessage))
- #16 [internal function]: PhpAmqpLib\Channel\AMQPChannel->basic_deliver(Object(PhpAmqpLib\Wire\AMQPReader), Object(PhpAmqpLib\Message\AMQPMessage))
- #17 /app/code/yii2/advance/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(202): call_user_func(Array, Object(PhpAmqpLib\Wire\AMQPReader), Object(PhpAmqpLib\Message\AMQPMessage))
- #18 /app/code/yii2/advance/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(341): PhpAmqpLib\Channel\AbstractChannel->dispatch('60,60', '\x1Famq.ctag--WMM9...', Object(PhpAmqpLib\Message\AMQPMessage))
- #19 /app/code/yii2/advance/console/controllers/RabbitUserController.php(144): PhpAmqpLib\Channel\AbstractChannel->wait()
- #20 [internal function]: console\controllers\RabbitUserController->actionWorker()
- #21 /app/code/yii2/advance/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
- #22 /app/code/yii2/advance/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
- #23 /app/code/yii2/advance/vendor/yiisoft/yii2/console/Controller.php(135): yii\base\Controller->runAction('worker', Array)
- #24 /app/code/yii2/advance/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('worker', Array)
- #25 /app/code/yii2/advance/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('rabbit-user/wor...', Array)
- #26 /app/code/yii2/advance/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('rabbit-user/wor...', Array)
- #27 /app/code/yii2/advance/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
- #28 /app/code/yii2/advance/yii(27): yii\base\Application->run()
- #29 {main}
|