TommyTran732 / Pterodactyl-Script

Installing Pterodactyl in just a few minutes!
Apache License 2.0
185 stars 56 forks source link

Fix mariadb binding on ubuntu servers. #8

Closed Wqrld closed 4 years ago

Wqrld commented 4 years ago

with the newer ubuntu versions the bind address is in 5-server.cnf instead of my.cnf while my.cnf still exists. This if-else branch never accesses the code to fix 50-server.cnf if my.cnf still exists so moving the 50-server.cnf to the top fixes the issue.

tested on multiple 16.04 and 18.04 vpsses.

TommyTran732 commented 4 years ago

Could you test in 20.04 and Red Hat based distros as well?