Thanks podz for replying.
Cpanels gives two examples after the database name, username and password are created. For Perl the example is:
$dbh = DBI->connect(“DBI:mysql:netbased_nblog:localhost”,”netbased_nblog”,”<PASSWORD HERE>”);
For PHP the example is:
$dbh=mysql_connect (“localhost”, “netbased_nblog”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error()); mysql_select_db (“netbased_nblog”);
As you can see above, I inserted the PHP connection string between the ‘ ‘ replacing localhost. Does this give you any insights?
Thanks again, Don