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

Having Trouble with my DATABASE

jo31_99

Senior Member
Joined
Jul 23, 2011
Messages
56
Reaction score
1
Location
Sweden
~~CONSOLE ~~
Failed connecting to database - MYSQL ERROR: Can't connect to MySQL server on 'localhost' (10061) (2003)




Config.lua
-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "MYUSER"
sqlPass = "MYPASSWORD"
sqlDatabase = "MYDATABASE"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "sha1"





and I was following Znote's Guide exaclly ..
this is TheForgottenserver V8.2 8.60
....

IM REALLY NOOB SO PLEASE HELP ME :)
Thanks in advance :)
 
Change localhost to 127.0.0.1
Code:
sqlHost = "[COLOR=#ff0000]127.0.0.1[/COLOR]"
 

Similar threads

Back
Top