Hi all. I have a new server that has MySQL 8.0.27. Trying to access that remotely via DBI (running script on Windows) and an getting an error: DBI connect(...) failed: Client does not support authentication protocol requested by server and it suggests to upgrade DBI.

I have 1.622 and there is a 1.636 available. When I try to upgrade it using cpanm it fails and the log lists a bunch of failed tests:

Test Summary Report ------------------- t/01basics.t (Wstat: 9728 Tests: 128 Failed: 0) Non-zero exit status: 38 Parse errors: Bad plan. You planned 130 tests but ran 128. t/09trace.t (Wstat: 9728 Tests: 1 Failed: 0) Non-zero exit status: 38 Parse errors: Bad plan. You planned 99 tests but ran 1. t/10examp.t (Wstat: 10240 Tests: 60 Failed: 0) Non-zero exit status: 40 Parse errors: Bad plan. You planned 242 tests but ran 60. t/19fhtrace.t (Wstat: 9728 Tests: 4 Failed: 0) Non-zero exit status: 38 Parse errors: Bad plan. You planned 27 tests but ran 4. t/31methcache.t (Wstat: 10240 Tests: 8 Failed: 0) Non-zero exit status: 40 Parse errors: Bad plan. You planned 49 tests but ran 8. t/40profile.t (Wstat: 9728 Tests: 0 Failed: 0) Non-zero exit status: 38 Parse errors: Bad plan. You planned 60 tests but ran 0. t/43prof_env.t (Wstat: 9728 Tests: 11 Failed: 0) Non-zero exit status: 38 t/zvg_01basics.t (Wstat: 9728 Tests: 128 Failed: 0) Non-zero exit status: 38 Parse errors: Bad plan. You planned 130 tests but ran 128. t/zvg_09trace.t (Wstat: 9728 Tests: 1 Failed: 0) Non-zero exit status: 38 Parse errors: Bad plan. You planned 99 tests but ran 1. t/zvg_10examp.t (Wstat: 10240 Tests: 60 Failed: 0) Non-zero exit status: 40 Parse errors: Bad plan. You planned 242 tests but ran 60. t/zvg_19fhtrace.t (Wstat: 9728 Tests: 4 Failed: 0) Non-zero exit status: 38 Parse errors: Bad plan. You planned 27 tests but ran 4. t/zvg_31methcache.t (Wstat: 10240 Tests: 8 Failed: 0) Non-zero exit status: 40 Parse errors: Bad plan. You planned 49 tests but ran 8. t/zvg_40profile.t (Wstat: 9728 Tests: 0 Failed: 0) Non-zero exit status: 38 Parse errors: Bad plan. You planned 60 tests but ran 0. t/zvg_43prof_env.t (Wstat: 9728 Tests: 11 Failed: 0) Non-zero exit status: 38 Files=202, Tests=7447, 72 wallclock secs ( 0.70 usr + 0.34 sys = 1.0 +5 CPU) Result: FAIL Failed 14/202 test programs. 0/7447 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic'
It says I can force install but I'm reluctant to do this for fear of breaking my existing DBI install. How do I fix this?

In reply to DBI upgrade with cpanm fails by cormanaz

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.