MySQL Forums
Forum List  »  MySQL Workbench

Cannot connect to Database Server
Posted by: Stefano Ghisoni
Date: December 12, 2022 05:09AM

Hi I'm Stefano and I have one database on
I tried to connect it from MySQL Workbench with this credentials (communicated from hostinger support):
- hostname:
- username (database): u542972282_localhost
- port: 3306
- password: (database password)
- connection method: Standard TCP/IP

But it show me a message error that I don't understand.

/* Message */

Failed to Connect to MySQL at with user u542972282_localhost.

Unable to connect to localhost.

/* */


/* Message */
Cannot Connect to Database Server

Your connection attempt failed for user 'u542972282_localhost' to the MySQL server at
Unable to connect to localhost

1 Check that MySQL is running on address
2 Check that MySQL is reachable on port 3306 (note: 3306 is the default, but this can be changed)
3 Check the user u542972282_localhost has rights to connect to from your address (MySQL rights define what clients can connect to the server and from which machines)
4 Make sure you are both providing a password if needed and using the correct password for connecting from the host address you're connecting from

/* */

How can I do to connect correctly my database?


Options: ReplyQuote

Written By
Cannot connect to Database Server
December 12, 2022 05:09AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.