Hi,
i know that if i want to connect to the mysql database the code is
$db_string = 'DBI:mysql:databasename:hostname';
$db_user = 'username';
$db_pass = 'password';
$dbh = DBI->connect($db_string, $db_user, $db_pass);
what changes i have to make if i want to connect to the mysql database on the different server than where my script is ?
urhelp
i know that if i want to connect to the mysql database the code is
$db_string = 'DBI:mysql:databasename:hostname';
$db_user = 'username';
$db_pass = 'password';
$dbh = DBI->connect($db_string, $db_user, $db_pass);
what changes i have to make if i want to connect to the mysql database on the different server than where my script is ?
urhelp