• 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

vps2209

New Member
Joined
Feb 5, 2017
Messages
12
Reaction score
0
Hello, idk why i have this error while using ./tfs command.
vJE5Upu.png

I do this - https://github.com/otland/forgottenserver/wiki/Compiling-on-Ubuntu and copy the tfs file from /home/forgottenserver/build to /home/forgottenserver
and i used this command before: sudo apt-get install mysql-server
my config looks like: http://wklej.org/id/3036152/
Ty for help! :)
 
Did you setup MySQL? If so, there is no existing database called "forgottenserver". In this case you must import sql file to your database and should be fine. If you already have it, change the name to the one you got on database inside config.lua.
 
You should create forgottenserver database and import the server tables...

You can access mysql from your terminal

Code:
mysql -u root -p

This will ask you your root database. Then you can create a database typing

Code:
CREATE DATABASE forgottenserver;

You can then import the schema.sql file typing (you need to navigate to the schema.sql file first)

Code:
mysql -u username -p forgottenserver < schema.sql

If you install phpmyadmin this process is easier
 
Back
Top