Free MySQL database hosting for game servers and Discord bots

You do not need a separate database host. Every free Torchlite game server or Discord bot can create its own MySQL database in two clicks, and manage it in phpMyAdmin.

Updated

At a glance

Database
MySQL (MariaDB 10.11)
Databases per server
1, or 2 on the Max plan
Works with
Minecraft plugins, MTA and SA-MP gamemodes, Discord bots
Management
phpMyAdmin
Price
Free, funded by our sponsor TorchByte and advertising in the panel
The Databases page in the Torchlite panel
On this page

In short: every server on Torchlite, a game server or a Discord bot, can create a free MySQL database from the Databases page in the panel. Most plans get one database per server, Max servers (the plan for Forge, NeoForge and Hytale) get two. The database runs on MariaDB 10.11 at mysql.torchlite.host, you get the host, user and password at once, and you can open it in phpMyAdmin. It costs nothing, like the server it belongs to.

What it is for

  • Minecraft plugins. LuckPerms, CoreProtect, economy and shop plugins can keep their data in MySQL instead of files. The MySQL guide walks through LuckPerms step by step.
  • MTA: San Andreas, SA-MP and open.mp gamemodes. Roleplay gamemodes keep accounts, cars, houses and inventories in MySQL. See the MTA gamemode guide and the SA-MP gamemode guide.
  • Discord bots. A bot's levels, warnings, tickets or settings survive restarts when they live in a database. It works from Node.js (mysql2) and Python (aiomysql, PyMySQL). Start with the Discord bot guide.

How to create it

  1. Open your server in the panel and go to Databases.
  2. Click New Database and type a name, for example bot or luckperms.
  3. Click Create Database, then Database Details to copy the host, port, username and password.

The name gets your server's number in front, so bot becomes something like s12_bot. Use the full name in your config.

What you get

WhatDetails
Database engineMariaDB 10.11, compatible with MySQL
Addressmysql.torchlite.host, port 3306
Databases per server1, or 2 on the Max plan
ManagementphpMyAdmin at db.torchlite.host
Reachable fromyour Torchlite servers
Pricefree

The database belongs to its server: it is deleted together with the server. Make a copy from phpMyAdmin (Export) before you delete a server whose data you want to keep.

The database is reached from your servers on Torchlite, not from your home computer or an outside website. That keeps it out of reach of the bots that scan the internet for open databases.

Frequently asked questions

Is the database really free?

Yes. It comes with the free server, with no card and no trial. The servers and their databases are funded by our sponsor TorchByte and by advertising in the panel.

Can my Discord bot use it?

Yes. Every Discord bot on Torchlite can create one database on its Databases page, just like a game server.

Can I connect from my own PC or website?

No. Only your servers on Torchlite can reach the database. To look at the data or change it by hand, use phpMyAdmin at db.torchlite.host, which runs in the browser. For a database you can reach from your own PC or website, create a database server on the Database plan instead: it is a separate server of its own, reachable from anywhere with its password.

What should I use as the host?

mysql.torchlite.host and port 3306. Not localhost: the database does not run inside your server.

What happens to the database when my server is deleted?

It is deleted with the server. Export it from phpMyAdmin first if you want to keep the data.