Marzio, when setting up your direct connection you can not use localhost
!
For the direct connection use the remote access host/port provided by your hosting!
The direct connection connects to your Database directly, not through the target so you can’t just put localhost
there. Use the same credentials / host / port as you would do in navicat / mysql workbench or any other software used to access your db remotely.