Error "Database cannot be established" often generated after moving from cPanel to DirectAdmin

daro2013

Verified User
Joined
Dec 16, 2021
Messages
18
Hello all,

I have moved my Wordpress websites from cPanel to DirectAdmin over 2 weeks ago. The front pages work very well without an error or warning.

However, the backend pages for Wordpress Admin, sometimes generate the following error:

"Database cannot be established"

I have checked my website's database details are correct in wp-config.php and in MySQL Management of DirectAdmin, they are set exactly the same.

That error will have gone when refresh the browser once or a couple of times.

Can you please advise how to fix the above issue.

Many thanks in advance.
 
Back
Top