8 May 2008 15:13
Error while connecting to data base.
<mohammed.mustafa <at> wipro.com>
2008-05-08 13:13:43 GMT
2008-05-08 13:13:43 GMT
Hi,
I am new to perl and database and trying to connect to the data base,
but getting the below error.
And perl version I am using is 5.8.5.
[wipcafe <at> testbrix Test]$ perl data.pl
DBI connect('database=mustafa;host=10.207.36.108','root',...) failed:
Client does not support authentication protocol requested by server;
consider upgrading MySQL client at data.pl line 7
can't connect: Client does not support authentication protocol requested
by server; consider upgrading MySQL client at data.pl line 7.
And please find the code here........
use DBI;
# $user = "mohammed";
# $pass = "mohammed";
#my $dbh = DBI->connect
("dbi:mysql:uitest;host=10.207.36.119",$user,$pass) or
my $dbh =
DBI->connect("DBI:mysql:database=mustafa;host=10.207.36.108","root",
"wipcafe")or
(Continue reading)
RSS Feed