Problem:
Error 404 on accessing PhpMyadmin on the CWP panel and you get 404 error.

Cause:
Missing pma (phpmyadmin) folder. The pma folder contains the phpmyadmin configurations files. If you can’t locate the folder then it means it may have been deleted by mistake. This is what causes the 404 error.
To resolve the issue, follow the steps below.
Resolution:
- Login to the server and run the mysql_phpmyadmin_update script
/scripts/mysql_phpmyadmin_update
If first step does not work, try step 2.
2. Navigate to /usr/local/cwpsrv/var/services/
directory where pma lives
Luckily, you will see other folders such as pma_18-07-2024.bak or pma_23-07-2024.bak
The above folders are backup folders of the orignial pma folder. Just rename the latest backup to pma.
In /usr/local/cwpsrv/var/services/
Let’s rename pma_23-07-2024.bak to pma by typing
mv pma_23-07-2024.bak pma/

Then restart httpd
/scripts/restart_httpd
Lastly restart cwp service
/scripts/restart_cwpsrv
Then access phpmyadmin panel
