Here is a copy of the connection strings I get when I am at the MySQL account maintenance page.
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:alnypxuv_wordpress1:localhost","alnypxuv_edward","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "alnypxuv_edward", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("alnypxuv_wordpress1");