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

Forgotten Server 1.2 Auto Closing

Awpolo

New Member
Joined
Oct 18, 2015
Messages
49
Reaction score
0
My Server is closing before i can read the error i tried to screenshot it quickly and this is what information i have..
MYSql error: Access denied for user *something something something* '@' local host
Password:Yes
Error :Faild to connect to Database
Server is not online

Not sure what exactly the problem is, am at my witts end of this project and i am a compolete nub , if you could help would be greatly appreciated
 
i figured that was it so i went over it a few times maybe im missing something, what information must i change just to get the server online, i have checkedi may be confused about what some things are referring to

serverName

mysqlHost - "27.0.0.1"

mysqlUser - now what does this need to be in relation to what?
mysqlPass - this is the password i changed earlier in this process, right?
myqlDatabase - now this needs to be the same name as my file in phpmyadmin, right?
mysqlPort - "3306"
 
Okay so i dont have a file named forgottenserver.s3db or an .s3db of any kind in my server folder, any idea why that isnt there?
 
Okay so i dont have a file named forgottenserver.s3db or an .s3db of any kind in my server folder, any idea why that isnt there?
TFS doesn't use SQLite anymore. its all MYSQL.
The server closing on you instantly is typical behaviour of either not having MYSQL setup and installed, or not having the right MYSQL details in your config.lua file.

Here is a tutorial going through the entire process:
https://otland.net/threads/video-tu...ing-ot-server-website-and-shop-system.166818/

mysqlHost - "127.0.0.1"
mysqlUser - "root"
mysqlPass - ""
myqlDatabase - "theforgottenserver"
mysqlPort - "3306"

These details are completely dependant on what you name the database and what user/password you setup in mysql/phpmyadmin that has full access to that database.
Again, the video tutorial above should cover it all.
 
Back
Top