Jump to content
  • 0

Unable to connect to mysql


Drakath

Question

Posted

I am trying to connect to a mySQL database using mysql_connect but I get this error:

ERROR: Unable to connect to mysql: (1045) Access denied for user 'Drakath'@'ip-77-221-80-117.zard.lt' (using password: YES)

Why does it output my IP? I am sure I wrote the right hostname and port because I retrieved them using SHOW VARIABLES query. I used the username and password I specified when creating my database. What's the problem here?

3 answers to this question

Recommended Posts

  • 0
Posted

Even I had this issue, and connection was allowed and exactly same details.

This is a big problem with mysql in dbConnect.

Then I got angry and removed the MySQL totally

I hope someone answers this for me to.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...