Hi, I’m struggling with the database connection to my MySql database. I keep getting errors and have followed all of the docs, and tutorials but I must be missing something. Most of the fixes in the replies here don’t seem to apply to my situation either. This is so frustrating I’ve been on this for hours now. I was getting an error that the database wasn’t allowing the username access but I have full privileges. Here’s the latest message I’m getting:
Hello,
The error says that the access for this user is denied for the server address you are using.
Are you sure that’s the db server address which you are supposed to use, and not just localjost ?
Hi Teodor, many thanks for responding. I might feel very daft in a second. When I put localhost it does say it connects. However because my database is on my webserver, I thought localhost would only work if the database was on my machine?
No, that’s not the case.
Wappler pushes the connection file to the server you setup in the ftp config and connects through there. You do not connect remotely, but from your web server
Ah, hold on. I just changed this at the botton of thee screen and it seems to have worked. changed it from local to the server name. I’m, incredibly confused. Yet over-joyed at the same time. Thank you for your help though.