• 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 Problem with mysql connect

kamilel12

New Member
Joined
Jun 16, 2015
Messages
1
Reaction score
0
Hello!

I did everything with this on Ubuntu https://github.com/otland/forgottenserver/wiki/Compiling-on-Ubuntu

Edit config.lua
Code:
-- MySQL
mysqlHost = "localhost"
mysqlUser = "tfsuser"
mysqlPass = "mypass"
mysqlDatabase = "tfsdb"
mysqlPort = 3306
mysqlSock = "/var/run/mysqld/mysqld.sock"

Try ./tsf
and get error:

Code:
MySQL Error messge: Can't connect to local MySQL server through socket '/var/lib/mysq/mysql.sock' (2)

Anyone know what is wrong?
 

Similar threads

Replies
1
Views
664
Back
Top