I setup a new perl (strawberry portable) and I'm stuck with a failing connection to mysql server. That connection was working (and is still working) without problem on my old perl setup. I have no admin rights on the mysql server, I didn't create the users and password myself.

I have tried to move DBIx::Class in perl/site/lib and DBI in perl/vendor/lib from the old to the new install, but that does not change the problem.

The error is
DBI Connection failed: DBI connect('host= ... ;database= ... ;','user_ +name',...) failed: Authentication plugin 'mysql_old_password' cannot +be loaded: The specified module could not be found. at c:/spp/perl/vendor/lib/DBIx/Class/Storage/DBI.pm line 1517. at c:/ +spp/perl/vendor/lib/DBIx/Class/Schema.pm line 1118. DBIx::Class::Schema::throw_exception(Dbc::Schema=HASH(0x5aa0c2 +4), "DBI Connection failed: DBI connect('host=mysql.unifr.ch;datab".. +.) called at c:/spp/perl/vendor/lib/DBIx/Class/Storage.pm line 113 DBIx::Class::Storage::throw_exception(DBIx::Class::Storage::DB +I=HASH(0x5aa516c), "DBI Connection failed: DBI connect('host=mysql.un +ifr.ch;datab"...) called at c:/spp/perl/vendor/lib/DBIx/Class/Storage +/DBI.pm line 1558 DBIx::Class::Storage::DBI::catch {...} ("DBI connect('host=mys +ql.unifr.ch;database=dokpe_i02;','dokpe_"...) called at c:/spp/perl/v +endor/lib/Try/Tiny.pm line 123

Thanks for any help

F.


In reply to plugin 'mysql_old_password' cannot be loaded by frazap

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.