Jump to content

Can't connect


firecat318

Recommended Posts

I've been trying to get connected to my SQL database but I keep getting an error that says :

 

Warning: mysql_connect(): Access denied for user 'ultimate'@'serv2.freehostia.com' (using password: YES) in /home/www/firecat111.freehostia.com/database.php on line 2
Access denied for user 'ultimate'@'serv2.freehostia.com' (using password: YES)

 

I'm not using the password YES obviously... any help?

Link to comment
Share on other sites

Simply put, this is NOT a valid mysql user ('ultimate'@'serv2.freehostia.com').

i.e. it doesn't exist in the MySQL user table.

 

Perhaps the user is 'ultimate'@'localhost' or 'ultimate'@'%' but unfortunately we cannot guess. you need to check your credentials with the database administrator.

 

It is worth noting that the latter part of the username (i.e. the domain part) MUST be the domain you are connection FROM. So if i connect from my PC here it'll be 'myusername'@'123.234.345.456' which represents the ip address of my adsl/cable/modem connection.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.