• 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 MySQL error (111)

Szafi

www.rookwar.pl
Joined
Mar 2, 2009
Messages
165
Reaction score
10
Location
Poland
Code:
root@s1szafi:/home/forgottenserver# ./tfs
The Forgotten Server - Version 1.2
Compiled with GNU C++ version 4.9.2
Compiled on Nov 27 2015 01:42:58 for platform x64

A server developed by Mark Samman
Visit our forum for updates, support, and resources: http://otland.net/.

>> Loading config
>> Establishing database connection...
MySQL Error Message: Can't connect to local MySQL server through socket '' (111)
> ERROR: Failed to connect to database.
>> No services running. The server is NOT online.
root@s1szafi:/home/forgottenserver#

Settings in config.lua

-- MySQL
mysqlHost = "localhost"
mysqlUser = "user_censorship"
mysqlPass = "password_censorship"
mysqlDatabase = "dbname_censorship"
mysqlPort = 3306
mysqlSock = ""

mysql server is run

what is wrong?
 
Ahmmmmmm. My bad. Thanks :)
Code:
The Forgotten Server - Version 1.2
Compiled with GNU C++ version 4.9.2
Compiled on Nov 27 2015 01:42:58 for platform x64

A server developed by Mark Samman
Visit our forum for updates, support, and resources: http://otland.net/.

>> Loading config
>> Establishing database connection... MySQL 5.5.46
>> Running database manager
>> Loading vocations
>> Loading items
>> Loading script systems
>> Loading monsters
>> Loading outfits
>> Checking world type... PVP
>> Loading map
> Map size: 1000x1000.
> Map loading time: 0.621 seconds.
>> Initializing gamestate
>> Loaded all modules, server starting up...
> Warning: The Forgotten Server has been executed as root user, please consider running it as a normal user.
>> Forgotten Server Online!
 

Similar threads

Replies
1
Views
659
Back
Top