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
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
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.
Here’s a good ressource: https://www.setup.md/t/database
Ideally the database server is on the same machine as the Minecraft server
But yeah what Exos said is 100% accurate