Closed TheMeq closed 11 months ago
This is not a bug, solutions:
127.0.0.1
or localhost
and you're trying to connect from outside the server?GRANT
permissions if you're trying to use them to create a new database for a server?An another solution: Is your MySQL instance running? systemctl status mysql
Sorted
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