Jump to content
  • 0

Unable to connect to mysql


Drakath

Question

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?

Link to comment

3 answers to this question

Recommended Posts

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...