I installed LAMP and php on VPS. compiled TFS, edited config.lua, but after i play server by screen command i get this msg.
about config.lua
Im sure i added correctly data, because i can use it to login to phpmyadmin.
I dont know where problem is.
PS.
firewall on debian is disabled
Status: inactive
Code:
>> Loading config
>> establishing database connection...
MySQL Error Message: Can't conntect to MySQL server on 'my server ip' (111)
> ERROR: Failed to connect to database
>> No services running. The server is NOT online
about config.lua
Code:
-- Connection Config
-- NOTE: maxPlayers set to 0 means no limit
ip = "144.xx.xxx.xx"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
Code:
-- MySQL
mysqlHost = "144.xx.xxx.xx"
mysqlUser = "xxx"
mysqlPass = "xxxxxxxxxxx"
mysqlDatabase = "ots"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"
Im sure i added correctly data, because i can use it to login to phpmyadmin.
I dont know where problem is.
PS.
firewall on debian is disabled
Status: inactive