kennygadams
Programmer
Hello,
I'm trying to make a mySQL connection from my local server to a remote server but it is not working. What am I doing wrong? Do I need to set some kind of special permissions on the remote server that I'm trying to connect to?
I'm using the following mySQL code in a PERL script to connect to my remote server:
Best regards,
Kenny G. Adams
I'm trying to make a mySQL connection from my local server to a remote server but it is not working. What am I doing wrong? Do I need to set some kind of special permissions on the remote server that I'm trying to connect to?
I'm using the following mySQL code in a PERL script to connect to my remote server:
Code:
if($dbh = DBI->connect("DBI:mysql:name_of_database:12.34.56.78", "username", "password")){
$connected = 'y';
}
else{
$connected = 'n';
}
Best regards,
Kenny G. Adams