kennygadams
Programmer
I'm trying to make a mySQL connection from server-1 to server-2 but it wont let me.
Is this code wrong?
Thanks,
Kenny G. Adams
Is this code wrong?
Code:
if($dbh = DBI->connect("DBI:mysql:name_of_database:12.34.56.78", "username", "password")){
$connected = 'y';
}
else{
$connected = 'n';
}
Thanks,
Kenny G. Adams