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
https://forums.phpfreaks.com/topic/95536-cant-connect/
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
https://forums.phpfreaks.com/topic/95536-cant-connect/#findComment-494040
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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