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

Windows SQl Error

mostafa max

Banned User
Joined
Jul 31, 2013
Messages
12
Reaction score
1
help plz
[02/12/2015 08:50:26] Failed connecting to database - MYSQL ERROR: Can't connect to MySQL server on 'localhost' (10061) (2003)

[02/12/2015 08:50:26] > ERROR: Couldn't estabilish connection to SQL database!

my Site work but ^^ only error
Tfs 0.3.6 {crying damson}


-- 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 = "user"
sqlPass = "password"
sqlDatabase = "user"
sqlFile = "subwat.s3db"
sqlKeepAlive = "mysql"
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "sha1"Help me This error come to me and i have it

bump
 
Last edited by a moderator:
sqlUser = "user"
sqlPass = "password"
sqlDatabase = "user"

Did you changed those lines?
They need to be exacly the same like your database
 
Last edited:
Code:
sqlType = "sqlite"
    sqlHost = "localhost"
    sqlPort = 3306
    sqlUser = "root"
    sqlPass = ""
    sqlDatabase = ""
    sqlFile = "subwat.s3db"
    sqlKeepAlive = 0
    mysqlReadTimeout = 10
    mysqlWriteTimeout = 10
    encryptionType = "sha1"

Try this one.
 
Back
Top