I am trying to connect remotely to a mysql database.
here is the code:
<?php
# FileName="Conne ction_php_mysql .htm"
# Type="MYSQL"
# HTTP="true"
$hostname_myDB = "http://db195.perfora.n et";
$database_myDB = "dbname";
$username_myDB = "username";
$password_myDB = "password";
$myDB = mysql_pconnect( $hostname_myDB, $username_myDB, $password_myDB)
or trigger_error(m ysql_error(),E_ USER_ERROR);
?>
here is the error:
Warning: mysql_pconnect( ): Unknown MySQL Server Host 'db195.perfora. net'
(1) in /oldhome/WWW/wingsofthedawn. org/htdocs/final/Connections/myDB.php
on line 9
here is the code:
<?php
# FileName="Conne ction_php_mysql .htm"
# Type="MYSQL"
# HTTP="true"
$hostname_myDB = "http://db195.perfora.n et";
$database_myDB = "dbname";
$username_myDB = "username";
$password_myDB = "password";
$myDB = mysql_pconnect( $hostname_myDB, $username_myDB, $password_myDB)
or trigger_error(m ysql_error(),E_ USER_ERROR);
?>
here is the error:
Warning: mysql_pconnect( ): Unknown MySQL Server Host 'db195.perfora. net'
(1) in /oldhome/WWW/wingsofthedawn. org/htdocs/final/Connections/myDB.php
on line 9
Comment