Problem with Server Migration from Cpanel to Cpanel
I am currently migrating one domain from a cpanel server to another cpanel server. It might be important to note that the OLD SERVER has Centos 7 with MariaDB 10.6. The NEW SERVER is Almalinux 8 with MYSQL 8.0. Now, before you say that is the reason, i have done migrations from the same configurations between old and new servers without the errors i am getting.
I am using the transfer tool. Everything transfers fine without errors,
However, almost all of the PHP pages related to an application on this domain is a blank white page. There is also a wordpress blog that has an "Error Establishing a Database Connection" error.
I cannot figure out what the issue is. I don't see any memory limit exceeded issues. Server has plenty of RAM.
I moved the domain back to the original server in the meantime while I try to solve this issue.
Hope somebody can help.
-
Hey there! For the PHP page problem, the first thing I would do is try and create a PHP info page on the domain and see if that loads properly. If so, the issue would be specific to the application instead of PHP in general on the account. For the WordPress site, I'd check the wp-config.php file, and then try manually connecting to the database with the data in there. You would do this with the following command: mysql -u database_username -p and then enter the password at the prompt. If that works, you can then enter "show databases;" on the command line to see if the user has access to that database. There isn't going to be a one-step process to troubleshoot the issue, but those are two basic steps you can start with and see if that helps get you pointed in the right direction. 0
Please sign in to leave a comment.
Comments
2 comments