'Error transferring data from Cyberpanel to Centos Panel

My first time coming to Centos Panel.

I started moving my websites from cyberpanel. However, bringing the old website's data over is difficult. Specifically I uploaded the SQL and the Plulic hml. Then I changed the DB_NAME, DB_PASSWORD, DB_HOST values but the website didn't work. I see the old DB_HOST is localhost:3306 is there any problem?

I also tried a fresh install of Wordpress and the site works.

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source