• 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!

Solved ERROR: Couldn't estabilish connection to SQL database

survivor

New Member
Joined
Mar 20, 2008
Messages
89
Reaction score
4
I searched the forum for an awnser but couldn't find it..

[17/01/2014 11:42:14] Failed connecting to database - MYSQL ERROR: Can't connect to MySQL server on
'localhost' (10061) (2003)
[17/01/2014 11:42:14] > ERROR: Couldn't estabilish connection to SQL database!

This is the error I get and I don't know why.. tried like everything, what could it be?

I use Uniserver and cryingdamson 0.3.6 (8.60) V8.2.
I imported the mysql, edited the config.lua, but I still get the error..

My config.lua:

sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "my username"
sqlPass = "my password"
sqlDatabase = "my databasename, same as username"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"

Anyone who has an idea?

Thanks is advance,

Bryan
 
This problem suddenly came over night for some reason, i had my server open for testing the other day before but now it wont work, i use simple port tester , when i test the ports sometimes it says their open but when i run it again some ports suddenly gets closed and so on..
 
Back
Top