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

Connecting database with server

janiu

New Member
Joined
Apr 23, 2020
Messages
6
Reaction score
0
Hey, i compiled tfs 0.3.6 and made database, and i dont know how to connect data base with my server.
I've got this error:

> Loading RSA key
Starting SQL connection
Failed connecting to database - MYSQL ERROR: Access denied for user 'root'@'localhost' (using password: NO) (1045)

ERROR: Couldn't estabilish connection to SQL database!
theforgottenserver: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:81: boost::condition_variable::~condition_variable(): Assertion `!ret' failed.
Aborted

What should i do :(

config.lua said:
sqlType = "mysql"
sqlHost = "127.0.0.1"
sqlPort = 3306
sqlUser = "root"
sqlPass = "test"
sqlDatabase = "ots"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 0
mysqlWriteTimeout = 0
encryptionType = "plain"

Debian 8
 
Last edited:
Solution

Similar threads

Back
Top