Error establishing database connection

Hello ,i have moved my site to new domain via file manager and also uploaded database file .but while visiting site showing errror establishing database connection

(other information and details relevant to your question)

Have you tried right credentials from CPanel->MySQL Databases?

This exact error message is listed in our Common MySQL Connection Errors. Can you please check it?


i checked using right credentials ,now i am getting there has been a critical error on your site messsage

Were you using CloudFlare while migrating between the 2 hosts?
If yes, purge all the CloudFlare cache

" Error establishing database connection" is due to that

Please enable debug mode in the wp-config.php to see the actual error message.


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.