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

Server problem (database)

sikkee

New Member
Joined
Feb 27, 2010
Messages
89
Reaction score
2
Hi, I started my server after getting everything online on my VPS, everything works fine on the server (even the database)
Now to the website, when I try to install it, it says "Can't connect to MySQL database." even though the server can? What is wrong?
 
config.lua
You got this:
Code:
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "sha1"

Use this
Code:
mysqlReadTimeout = 0
mysqlWriteTimeout = 0
encryptionType = "sha1"
passwordType="sha1"
 
Didn't work bro :/
I can get in to the phpMyAdmin with the same username and password, I can use the server and everything except the website. It should be able to connect since it's using the info from the config.lua, right?
 
Last edited:
Changed to xampplite and now the website works but not the server...

"[23/02/2012 21:51:54] Failed connecting to database - MYSQL ERROR: Can't connect to MySQL server on 'localhost' (10061) (2003)"
 
Back
Top