Jump to content

Cannot connect to database


Recommended Posts

HI,

 

I just changed host from one.com to oderland.com and I´m having some problems with my database.

 

Link to database cannot be established: SQLSTATE[42000] [1044] Access denied for user 'hamburge_ps'@'localhost' to database 'hamburge_ps'

 

I created a database in cPanel hamburge_ps with the username hamburge_ps and a password.

I changed the settings in settings.php.inc

 

define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'hamburge_ps');
define('_DB_USER_', 'hamburge_ps');
define('_DB_PASSWD_', 'XXX'); /password for DB user.

 

Still cannot connect to database, anyone know why?

Link to comment
Share on other sites

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