NamelessMC / Nameless

NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features.
https://namelessmc.com/
MIT License
601 stars 312 forks source link

Unable to specify MySQL Server address #3439

Closed TheMeq closed 11 months ago

TheMeq commented 11 months ago

Describe the issue

When installing NamelessMC for the first time, I specify my databases IP address (which is hosted on a different server to the web server). But when I click "Proceed" to move to the next step, it gives me the following error:

Failed to connect to the database: SQLSTATE[28000] [1045] Access denied for user 'username'@'domain' (using password: YES)

Of which 'domain' is the name of the web server, not the IP address I specified.

NamelessMC Version

2.1.0

To Reproduce

Go to install.php as if installing Click Proceed until you get to the database section.

Specify an IP address that is not 127.0.0.1 or localhost

Fill in username and password for this external database and click Proceed.

Error occurs.

Expected Behaviour

NamelessMC should allow me to specify the external IP address or domain of my mysql instance.

Screenshots

No response

Additional Information

No response

PadowYT2 commented 11 months ago

This is not a bug, solutions:

If using a VPS/VDS/Dedicated

An another solution: Is your MySQL instance running? systemctl status mysql

TheMeq commented 11 months ago

Sorted