#MySQL doest work
1 messages · Page 1 of 1 (latest)
!db
:point_right: If you are having ECONNREFUSED 127.0.0.1:3306 when connecting to the database, this probably means you do not have a database installed or running.
Windows Home Hosted or VPS:
:one: Download and install MariaDB: https://docs.yorick.gg/FiveM/Server/Windows/Database#download-mariadb
:two: To make sure you can edit/view your database, download and install HeidiSQL: https://docs.yorick.gg/FiveM/Server/Windows/Database#download-heidisql
:three: On txAdmin, click on the Cancel button and try again.
Linux VPS or Self Hosted:
It depends on your distro (like CentOS, Ubuntu, etc), you will need to google how to install MariaDB in it.
Pterodactyl setups (most hosting providers):
Open a support ticket at your hosting provider to ask their help in setting up the database.
If your pterodactyl is self hosted (you own the instance), this video MAY be the solution.