• 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 Cannot Connect to Database

ziggy46802

Active Member
Joined
Aug 19, 2012
Messages
418
Reaction score
27
This is the error I'm getting

Code:
[23/09/2012 07:33:08] Failed connecting to database - MYSQL ERROR: Can't connect to MySQL server on '127.0.0.1' (10050) (2003)

[23/09/2012 07:33:08] > ERROR: Couldn't estabilish connection to SQL database!

Im using Crying Damson 0.3.6 V5

I had an old server running on OTServ and it connected just fine so its got nothing to do with the ports

Here is what my config looks like

Code:
sqlType = "mysql"
	sqlHost = "24.74.218.6"
	sqlPort = 3306
	sqlUser = "root"
	sqlPass = "********"
	sqlDatabase = "tfs"
	sqlFile = "forgottenserver.s3db"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTimeout = 10
	encryptionType = "plain"

EDIT: For some reason, moving the directory helped it to work so it works now.
 
Last edited:
Back
Top