• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux Cant log on my ot??

GOD Wille

Excellent OT User
Joined
Jan 11, 2010
Messages
2,826
Solutions
2
Reaction score
815
Location
Sweden
The ot has working fine for a long time now, but tonight it crashed and now when im trying to start up the server, everything is working excellent. But when im trying to log in it stays wrong account name or password? How could that happen?

What do i need to do for fixing this?

Im using tfs 0.4

Thankful for help!!
 
Probobly something with connection to the DB, since the ot is running fine, so my advice to you is to check your mysql connection, and try to restart the server coupple of times.
 
What will happen if i optimize database?

I cant log on to the server even tho i change pw and all stuff in database :S

I can log on with my acc at the site..

I really appreciate help!
 
Last edited:
in config.lua
PHP:
	-- Database
	-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
	-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
	-- encryptionType can be plain, md5, sha1, sha256, sha512 or vahash.
	sqlType = "mysql"
	sqlHost = "localhost"
	sqlPort = 3306
	sqlUser = "root"
	sqlPass = "xxx"
	sqlDatabase = "xxx"
	sqlFile = "theforgottenserver.s3db"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTimeout = 10
	encryptionType = "sha1
 
No, nothing with this to do.

I changed startupDatabaseOptimization = true to startupDatabaseOptimization = false

and all worked
 
Back
Top