• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved MySql driver hasn't received any packets

MieskeB

New Pleskian
(Plesk Onyx 17.8.11) I have a domain and a database connected to it. I have set the settings to 'Allow remote connections from any host' and created a user. When I try to connect to it from an external programm (datagrip) it gives this error: (database and host.com are the databasename and the domain)

Connection to [email protected] failed.
[08S01] Communications link failure.
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

I know everything works well because when I use a SSH tunnel and as host I type localhost everything works well and I can connect. But I don't want it to do it this way...

I have port forwarded port 3306 on Plesk to any host and restarted Plesk. Why is Datagrip still not able to connect properly to the database? How do I solve this problem?
 
Last edited:
Normaly you do not connect to a DB like this.
You do not login with the Database or Database-Name you login with Domain and USER and then select the DB.

Try this:
Code:
mysql -h domain_or_IP -u your_user -p  your_database_name

This is how it works for mySQL but I never worked with DataGrip so dunno how to do it there.
But try to log in with USER@HOST not database@host
 
Last edited:
Back
Top