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

Problems with starting my own OT from FTS

Hanibal blood

New Member
Joined
Aug 8, 2024
Messages
1
Reaction score
0
Hello,
I am new here.
I want to start my own ots thus started with GitHub - otland/forgottenserver: A free and open-source MMORPG server emulator written in C++ (https://github.com/otland/forgottenserver?tab=readme-ov-file). Im on Mac. I did configure config.lua etc, tried chatgpt help but got me stuck there:

./build/RelWithDebInfo/tfs
The Forgotten Server - Version 1.7
Compiled with Clang version 15.0.0 (clang-1500.3.9.4)
Compiled on Aug 5 2024 23:39:35 for platform unknown
Linked with Lua 5.4.6 for Lua support
A server developed by The Forgotten Server Team
Visit our forum for updates, support, and resources: OTLand (https://otland.net/).
> Loading config
> Loading RSA key
> Establishing database connection...
MySQL Error Message: Access denied for user 'forgottenserver'@'localhost' (using password: NO)
ERROR: Failed to connect to database.
> No services running. The server is NOT online.

Is there anyone that can help me somehow?
 
It clearly says the username and/or password is wrong.

So he already has mysql installed, otherwise it would display other message.

My thoughts:
Rename the .env.example to just ".env". The dot is important.

Then set inside following options:
Code:
MYSQL_USER=root
MYSQL_PASSWORD=

The default mysql password for root user on Mac OS is empty, so it should work. Just leave it empty.
 
Back
Top