Hi,
I have moved the mysql database to remote server. I have confirmed that the connection details work by using mysql -u ninja -p -h SERVER_ADDRESS and it connects successfully. I updated the .env file, restarted the server but invoice ninja goes to the setup page when I try login.
The setup page give the following error:
SQLSTATE[HY000] [1045] Access denied for user ‘ninja’@‘16#.#1.#5.#27’ (using password: YES)
16#.#1.#5.#27 is the IP address of local host. It seems the server address in .env file is being completely ignored. What am I missing?
Version ie <v5.10.30>
Environment <Docker/Shared Hosting/Zip/Other>
Checklist
- Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or Invoice Ninja?
- Have you searched existing issues?
- Have you inspected the logs in storage/logs/laravel.log for any errors?