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

[SQLite] Accessing and modifying the database

Evan

A splendid one to behold
Senator
Premium User
Joined
May 6, 2009
Messages
7,019
Solutions
1
Reaction score
1,029
Location
United States
NOTE: THIS IS FOR SQLITE, NOT MYSQL, USE PHPMYADMIN FOR MYSQL.
Please also note: there are definitely other ways to access/modify SQLite database, but this is the way how I do it.

Step 1:
You need to download SQLite Expert Personal: SQLite Expert - A powerful administration tool for your SQLite databases

Step 2:
Install it, then run it.

Step 3:
At the top left corner, click the button that says "Open Database".
Alternatively, you can go to File -> Open Database.

3s2ENzf.png


Step 4:
Then browse to your server folder, then at the bottom right corner of the window, change file type to "All Files (*.*)".

1LnRxrM.png


Step 5:
Now you can see forgottenserver.s3db, open that.

303Fg1t.png



Done!, you have now loaded the database! You're free to modify things.


If you want to modify things, like the account type for your account, all you need to do is click the table on the left side.

depUvbf.png


Then click the "Data" tab at the top

NboqanQ.png


Then double-click whichever line you want to modify.

i6EoygY.png


A new window will pop-up, change any value necessary!

HE9rLXb.png


Just keep note, if you are using the 0.2.15, your server needs to be shut down before changing anything in the database.


You do not need to save any changed data, it is automatically updated in real time.

Good luck!
 
Last edited:
Back
Top