-
Notifications
You must be signed in to change notification settings - Fork 60
MySQL setup
MySQL is a highly efficient and popular database across the world. It is used for many plugins on many servers. That's why Autorank chose to support MySQL as well.
We made sure that the setup for MySQL is extremely easy. Our implementation for MySQL makes sure it's highly efficient and not resource extensive. It will allow your server to run for many days without a single error.
To enable MySQL, you have to look into your settings.yml. There is a section called 'sql'.
It hopefully looks like this:
sql:
- enabled: false
- hostname: localhost:3306
- username: root
- password: ''
- database: minecraft
- table: autorank
To enable MySQL, you'll have to put enabled to true.
Your hostname is the hostname (with port) of your MySQL database provider. Fill in your username and password so Autorank can connect to your MySQL database. ( Your password or username are never stored. You don't have to be afraid of account theft. ) Make sure you have a database and enter it into the database field. Lastly, enter a table name. This table doesn't have to exist. It will be created by Autorank automatically.
That's all there is to it.