Error in Calls of API

I made an example of api routes in nodejs and php, the localhost calls “Get, Post, Delete” work normally, but when I publish on the online server “my domain”, it gives an error in both projects.

error in php…

It seems you haven’t configured the MySQL/MariaDB database credentials correctly, it’s not attempting to use a password to connect to the DB

the connection is direct to my online database, it works normally on localhost with an online connection to the database, this only happens after transferring the project to the domain

in the wappler source code, where do I see this connection?

Well you just need to setup a database connection for your remote target!

1 Like

Thank Teodor.