Hi, I would like to connect to a database stored at linux machine from my Windows machine. But I am unable to connect to the mysql server.
The error I am getting is "DBI connect('employee:xxx.xxx.xxx.xx','root',...) failed: Unknown MySQL server host 'xxx.xxx.xxx.xx' (11001) at d:\pras\webshare\common\siva\mysql\mysql.pl line 2" -- I have used the exact ip address of the machine instead of xxx.xxx.xxx.xx ,the database "employee" is created properly and mysql is running Please help me regarding this issue. ************************************************************************ use DBI; $dbh = DBI->connect("DBI:mysql:employee:xxx.xxx.xxx.xx", 'root', 'abc123',{ RaiseError => 1 }); #do something here $dbh->disconnect(); *********************************************************************** Thanks siva -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>