How do I connect to my database from an external SQL tool?
You can reach your MySQL database from desktop tools like MySQL Workbench or HeidiSQL using the credentials shown in the Databases tab. Here's how to connect and what to check if it refuses.
Where your credentials live
The Databases tab shows everything you need: the host, port, database name, username, and password. Your external tool uses those exact values — note the host isn't necessarily your server's game IP.
Connecting externally
- Open the Databases tab to see the host, port, database name, username, and password.
- In your SQL client, enter that host and port and log in with those credentials.
- If the database has a "connections from" setting, make sure it allows your IP (or is set to allow remote).
Warning: Never share your database credentials publicly, and don't put them in client-side code that players can read.
Frequently asked questions
My connection is refused externally — why? The host and port must be reachable and the user allowed to connect remotely. Double-check the values in the panel.
Which host do I use? Always the one shown in the Databases tab, which isn't necessarily your server's game IP.