There is mismatch between HTTPS indicated on the server and client. This can lead to non working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS properly.
The server is using a self signed ssl certificate, however, the virtualmin virtual server that i setup after migrating from cpanel is not. (The original cpanel account was http)
So phpmyadmin url is (note "https" in first part and "http" in second part)
https:myserver.com:10000/virtual-server/link.cgi/internal ip address/http://migrated domain url.com/phpmyadmin
should this be an issue? What is meant by the first error above?
mysqli_real_connect(): (HY000/1698): Access denied for user 'rapidhab '@'localhost'
this second error is a bit of a problem...i have checked in virtualmin and copied and pasted the exact database username and password shown after running the phpmyadmin install script (it lists the install details including username and password).