Sorry, apart from the first line, my last post was irrelevant.
Just to be clear, have you tried:
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_connectionname = "localhost";
$database_connectionname = "Any Connection Name";
$username_connectionname = "YourDB_Username";
$password_connectionname = "YourDB_Password";
$connectionname = mysql_pconnect($hostname_connectionname, $username_connectionname, $password_connectionname) or trigger_error(mysql_error(),E_USER_ERROR);
?>
With the right Username and Password for your (live) database, this would normally do it.
The "Any Connection Name" would need to be the same as the one you've referred to in your pages (if you have already created dynamic content!)