Can't connect to mySQL

From: Dietmar Appelt (Dietmar.Appelt_at_cenveo.com)
Date: 03/18/05


Date: Fri, 18 Mar 2005 13:29:08 -0700
To: <dbi-users@perl.org>

If someone has seen the error message for the following perl script please let me know.
I am new to DBI and appreciate your support.
 
use strict;
use DBI;

my $dbh = DBI->connect('DBI:mysql:test:032dappelt','dappelt','YES',{ RaiseError => 1,AutoCommit =>0 });
 
exit 0;
 
#=======
#Output:
#=======
#H:\Perl>test.pl
#DBI connect('test:032dappelt','dappelt',...) failed: Client does not support aut
#hentication protocol requested by server; consider upgrading MySQL client at H:\
#Perl\test.pl line 9



Relevant Pages

  • Re: Future versions of DBI to require perl >= 5.8
    ... >> as long as they are supported, he will have to support 5.6.1 for at ... > That is, even if DBI is updated, people aren't forced to install the upgrade, ... of DBI which needs a newer version of perl. ... I do agree that these problems are the problems of the sysadmins (and ...
    (perl.dbi.users)
  • Re: DBI v2 - The Plan and How You Can Help [DRAFT]
    ... including worker process/thread pooling and testing against DBI to the ... functionalities and what are the standard names of the levels of support, ... and the next DBI standard could mandate a set of functionalities ...
    (perl.dbi.users)
  • Re: DBI v2 - The Plan and How You Can Help
    ... DBI already mandates support for the "?" ... that's why DBI should encourage drivers to support the other two ... > here where data dictionaries and generated SQL are the norm. ... The can already generate the SQL without a database connection. ...
    (perl.dbi.users)
  • Re: DBI v2 - The Plan and How You Can Help [DRAFT]
    ... Is something like connection pooling considered outside the scope of DBI? ... A standard conformance test suite for DBDs: a very big chore, ... Full thread safe support. ... i/f support for exotic datatypes ...
    (perl.dbi.users)
  • Re: Q: Generic CGI - DBI interfaces
    ... >> databases? ... or do you mean CGI APIs with support for DBI? ...
    (comp.lang.perl.modules)