Error establishing a database connection
-
Dear Forum
probably a common one. i have uploaded my WordPress to my site, created an SQL, put the SQL details into wp-config.php and i get error:
Error establishing a database connection
i understand that this is because the wp-config file cant login to the SQP DB. i have entered the details from my hosting to the file. where my hosting uses ‘user_DBname’, i have entered ‘user_DBname’ and not ‘DBname’… is that correct including the user prefix from hosting?
i have changed the 3 attributes asked to change:
NAME
USER
PASSWORDi havent changed HOST as its sat at ‘localhost’. i use a hosting with cPanel so i think thats correct…
have i missed something?
i edited the wp-config file myself as it talks about it setting automatically but i dont know where it does that???
- The topic ‘Error establishing a database connection’ is closed to new replies.