I have problems connecting the database in Plesk.
I did the following:
-
Completely reinstalled the system on VDS.
-
Installed Plesk on the server.
-
Made the configuration according to the instructions: NodeJS FTP deploy on shared hosting with Plesk and cPanel
The FTP connection is stable. The site was placed without problems and worked. -
Using Plesk, I create a database for the hosted site, assign a user, and create a table in the created database:
-
I am trying to establish a direct connection to the database in Wappler, having previously checked the connection to the server. I also check the connection to the database through the server action:
As far as I remember, not so long ago it was made that a direct connection can work via localhost, using the server connection details from the selected target. And for sure, the connection to the database via localhost always worked in the server actions.
Who can tell me what the problem is or where I went wrong?
I would be very grateful for any comments and recommendations.