• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

tfs 0.4 mysql problem can't connect

Status
Not open for further replies.

eri2937

New Member
Joined
Mar 13, 2010
Messages
22
Reaction score
0
HI All !
I've problem to start tfs 0.4 try many diferent Rev. and all look like that. all set in config Lua.
Are ok set ok but can't connect to localhost .tfs not start .thx for help.Rep for help.
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "xxxxxxx"
sqlDatabase = "theforgottenserver"
sqlFile = "theforgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "sha1"



Failed connecting to database-MYSQL ERROR:Can't connect to Mysql server on 'localhost' <10061> <2003>
Error:Couldn't establiis connection to SQL DATABASE !
 

Attachments

  • Untitled.png1234.jpg
    Untitled.png1234.jpg
    8.4 KB · Views: 67 · VirusTotal
  • Untitled.png1234.jpg
    Untitled.png1234.jpg
    8.8 KB · Views: 39 · VirusTotal
Last edited:
Heh... too hard use googles?

but i think, you add wrong password or your mysql serer is blocked by firewall...
First check your server, maybe doesn't start?

//Use older version xxamp, 1.6.6 is badly...
 
password is ok all check adn batad base user too. also for test is on local host in lua. ip-127.0.0.1 used before 0.3.6 and conecting without anny problems but 0.4 nt possible
and on new xampp 1.7.2 is all the same.and fire wall is off when I've tested.
-- Connection config
worldId = 0
ip = "127.0.0.1"
loginPort = 7171
gamePort = 7172
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 1000
motd = "Welcome to the Forgotten Server!"
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Forgotten"
loginMessage = "Welcome to the Forgotten Server!"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = false

-- Database

sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "xxxxxxxxxxxx"
sqlDatabase = "theforgottenserver"
sqlFile = "theforgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "sha1"
 
Last edited:
Status
Not open for further replies.
Back
Top