常見(jiàn)問(wèn)題
1.Method Swoole\Coroutine\MySQL::__construct() is deprecated
如果在運(yùn)行過(guò)程中出現(xiàn)類似 PHP Deprecated: Method Swoole\Coroutine\MySQL::__construct() is deprecated in /demo/vendor/easyswoole/mysqli/src/Client.php on line 160
這樣的警告,請(qǐng)修改連接池注冊(cè)時(shí)使用的配置中的 useMysqli
為 true
選項(xiàng),即可解決這個(gè)告警。