Jump to content

Database Connection Nightmare


White_Lily

Recommended Posts

Hi, I am currently trying to build an Artist's website, the artist wanted a CMS that was completely customized to the site (so no Wordpress, Joomla, Drupel, etc) - because of this I am having to create a CMS completely from scratch.

 

The problem I am having is with the database connection (hence the topic title), other sites that I have built with this same code work fine - however this particular site does not seem to want to play ball. It keeps giving me this error:

 

 

SQLSTATE[HY000] [1045] Access denied for user 'web113-janesart'@'10.0.44.113' (using password: YES)

 

I have tried obvious things such as spelling mistakes, wrong password/username/db name, nothing seems to get rid of this error.

 

Any help on what else this could be would be appreciated.

Link to comment
https://forums.phpfreaks.com/topic/291147-database-connection-nightmare/
Share on other sites

When you specify users for a MySql database you can also specify the domains from which they are allowed to access the server (or specify "%" as wildcard meaning anywhere).

 

It sounds as though that IP is not valid for that username. You need to change the user access credentials to allow that IP address, or get an admin to do it.

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.