How to setup a database

As the title says, how do I setup a database for my server? I'm running a proxy (Velocity) with some server (paper) for minigames : BedWars, PVP, Hide and Seek.. and I was wondering how to setup an SQL database for my server.
4 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by aandrei.dev#0
Exos
Exos4w ago
You need to install a database server (MariaDB is generally recommended). Is this a rented Minecraft server? If it is, you generally have one or two databases included. If you’re hosting it yourself, you’ll need to install MariaDB server, create a user, create a database, give the user the permissions to access the database, and put your user’s login info into the plugin’s config.
Exos
Exos4w ago
Here’s a good ressource: https://www.setup.md/t/database
setup.md
Databases
This page covers centralised plugin data storage using databases.
Torrent
Torrent4w ago
Ideally the database server is on the same machine as the Minecraft server But yeah what Exos said is 100% accurate

Did you find this page helpful?