我正在尝试在 Linux Centos 7 上创建一个 teamspeak 3 服务器,并且一直在使用本指南:http://servermuffin.blogspot.com/2015/07/installing-teamspeak-3-server-with.html
在步骤 23 之后,我收到此错误:
teamspeak3.service - TeamSpeak3 Service
Loaded: loaded (/etc/systemd/system/teamspeak3.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2015-12-24 21:09:37 EST; 753ms ago
Process: 30252 ExecStop=/srv/teamspeak3/ts3server_startscript.sh stop (code=exited, status=7)
Process: 30241 ExecStart=/srv/teamspeak3/ts3server_minimal_runscript.sh inifile=ts3server.ini (code=exited, status=1/FAILURE)
Main PID: 30241 (code=exited, status=1/FAILURE)
然后,在进一步查看日志之后,我发现了以下错误:
2015-12-24 23:21:56.814985|ERROR |DatabaseQuery | | mysql_real_connect() failed with error: Can't connect to MySQL server on '127.0.0.1' (107)
2015-12-24 23:21:56.815057|CRITICAL|ServerLibPriv | | Server() unable to initialize database