-
Notifications
You must be signed in to change notification settings - Fork 258
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
配置设置问题咨询 #29
Comments
不可以,会造成端口冲突。如果想要服务挂了自动连回 MySQL,可以通过配置负载均衡实现。 |
另外,你可以使用 Supervisor 配置守护进程;或者使用 Daemonize Mode;或者使用 Swoole 官方给出的 cron 方案。 |
好的,谢谢 |
系统的crontab中加入: /data/SMProxy/script/check_server.sh: 船哥方便教下这cron的定时器脚本怎么修改吗 |
SMProxy服务或Swoolw服务如果挂掉这一问题后续版本里是要考虑加上解决方法的吧 |
使用supervisor或者docker挂载服务 |
其实用systemd 服务也挺好的
|
请问 支持 swoole 4.5+ 吗? |
SMProxy的账号密码端口和ip能设置与原mysql一样的吗?比如都设置为 127.0.0.1 root 123456 3306
目的是为了防止这个访问突然断了后直接连回mysql,或者说这服务有守护进程在的吗?服务挂了会重启或服务器挂了重启它也跟着重启而不需要手动启动
The text was updated successfully, but these errors were encountered: