Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目运行过程中会出现数据库连接错误,请问有高手指导下嘛,使用的是默认配置 #408

Closed
lihao4455995 opened this issue Oct 14, 2020 · 1 comment

Comments

@lihao4455995
Copy link

[2020-10-10 18:46:30][debug][error] : [Uncaught EasySwoole\ORM\Exception\Exception: SQLSTATE[HY000] [2002] in /easyswoole/vendor/easyswoole/orm/src/Db/MysqlPool.php:21
Stack trace:
#0 /easyswoole/vendor/easyswoole/pool/src/AbstractPool.php(297): EasySwoole\ORM\Db\MysqlPool->createObject()
#1 /easyswoole/vendor/easyswoole/pool/src/AbstractPool.php(255): EasySwoole\Pool\AbstractPool->initObject()
#2 /easyswoole/vendor/easyswoole/pool/src/AbstractPool.php(229): EasySwoole\Pool\AbstractPool->keepMin(2)
#3 {main}
thrown at file:/easyswoole/vendor/easyswoole/orm/src/Db/MysqlPool.php line:21]

@kiss291323003
Copy link
Contributor

断线问题,文档有。请看文档,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants