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

Linux TFS Startup (Can't conncet to MySQL)

Garvinland

New Member
Joined
Dec 14, 2010
Messages
18
Reaction score
0
Hello, when i start TFS 0.3.6pl1 on Arch Linux i get this error and i dont know how to fix it..

Code:
> Using SHA1 encryption
>> Checking software version... up to date!
>> Fetching blacklist
>> Loading RSA key
>> Starting SQL connection
Failed connecting to database - MYSQL ERROR: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (2002)

> ERROR: Couldn't estabilish connection to SQL database!


'/var/run/mysqld/mysqld.sock'

Doesnt exist.. How to solve this? lol.

Config.lua;
Code:
	sqlType = "mysql"
	sqlHost = "localhost"
	sqlPort = 3306
	sqlUser = "myUSR"
	sqlPass = "myPW"
	sqlDatabase = "myDB"
	sqlFile = "forgottenserver.s3db"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTimeout = 10
	encryptionType = "sha1"

Rep++
 
Thank you, but now i got this problem;
Code:
> Using SHA1 encryption
>> Checking software version... up to date!
>> Fetching blacklist
>> Loading RSA key
>> Starting SQL connection
>> Running Database Manager
> No tables were optimized.
>> Loading items

> ERROR: Unable to load items (OTB)!
 
Make sure that items.otb file exist in /path/to/server/data/items.otb and if it's correct version, you can either try to chmod 766 /path/to/server/data/items.otb.
 
Back
Top