After some inconvenience I managed to set up a domain with node.js, but it remains an obstacle in connecting the database
The database is not recognized and loaded
The error reported is as follows:
Error connecting: connect ECONNREFUSED 127.0.0.1:3306
What is the cause and how can it be resolved?
1 Like
Having the same issue on a Mac.
When testing the Server Connect Connection, it queries the db says that “Database Connection OK”.
But I continue to get the "unable to connect message in the database manager.
I think I got it to work. I selected the “Direct Database Connection” button under the Database Connection Properties and then changed my Host from “localhost” to the IP address for my database.
I’m using MySQL, by the way.
2 Likes
Yes to allow Wappler to connect and manage your database you need a direct connection to it.
While the Server connect connection is for the database access on your web server
I don’t think that’s Wappler’s problem. Many shared hosting do not allow direct access to the database