louislivi / SMProxy

Swoole MySQL Proxy 一个基于 MySQL 协议,Swoole 开发的MySQL数据库连接池。 A MySQL database connection pool based on MySQL protocol and Swoole.
https://smproxy.louislivi.com
MIT License
1.78k stars 258 forks source link

Bad function (phar:///root/smproxy/SMProxy/src/BaseServer.php:63) #71

Closed lyq11 closed 4 years ago

lyq11 commented 4 years ago

Describe Your Environment (描述你的环境)

How to Reproduce the Problem? (如何重现问题)

  1. 在swoole协程中使用mysq连接smproxy服务器

Expected Behavior (预期行为)

正常运行

Actual Behavior (实际行为)

最后访问不了数据库,然后使用smproxy status 查询时连接数列表为空

lyq11 commented 4 years ago

2020-01-23 04:25:34 [warning] Swoole\Server::start(): length function handler error (phar:///root/smproxy/SMProxy/src/BaseServer.php:63) 2020-01-23 04:25:34 [warning] Swoole\Server::start(): Bad function (phar:///root/smproxy/SMProxy/src/BaseServer.php:63)

louislivi commented 4 years ago

后续还有再出现吗