I have centos with cpanel whm. I have phpmyadmin installed on whm.
i want to know where is the folder where phpmyadmin is installed
You need to look in the configuration file to see where it is set up.
Something like this will find it
Which will return something like this
Or look for the folder itself
It depends on where it was installed. If you can access it via the web, you can find out by looking at your apache/favorite_httpd config files.
For cPanel/WHM server, below is the location for phpmyadmin
It is not recommended to edit any files directly in a cPanel server, something may broke(Unless of course you know what you are doing).
Working of phpmyadmin is little bit different in cPanel, simply calling "mywebite.com/phpmyadmin" do not work in cPanel by default and can only access within from cPanel or WHM.