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

报:Fatal error: Uncaught Error: Call to undefined function SMProxy\go() #59

Closed augustdai closed 5 years ago

augustdai commented 5 years ago

Describe Your Environment (描述你的环境)

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

Expected Behavior (预期行为)

...

Actual Behavior (实际行为)

...

More Information (更多信息)

...

louislivi commented 5 years ago

@augustdai 在2.1.0或更高版本中如果开启了swoole.use_shortname,可以直接使用go关键词创建新的协程。 请检查你的配置!