.

master
Apex Liu 2017-12-04 14:22:53 +08:00
parent 053ad64336
commit a69091f612
1 changed files with 12 additions and 1 deletions

11
Q&A.md

@ -1 +1,12 @@
# 常见问题
## 安装部署问题
Q使用MySQL数据库有时重启teleport服务后工作不正常。
ATeleport内建支持SQLite因此`/etc/init.d/teleport`启动脚本没有加入对mysqld服务的依赖导致有时teleport服务先于mysqld服务启动此时teleport服务会因为无法连接到数据库而工作不正常。解决办法是修改`/etc/init.d/teleport`脚本将mysqld加入到依赖的服务列表中在脚本开始处找到 `# Required-Start:` 一行,在这一行末尾,追加 ` mysqld`然后重启teleport服务即可。