First test failed because it could not connect to the server. Because on this server user root doesn't exist.

This is exactly the sort of situation force install is intended to solve. You know why the test is failing, so just tell CPAN.pm to ignore the failed test and install anyway. If, after installation, you find that the module really doesn't work, you can then uninstall it, but many times (I would say at least half the time, in my experience) when a test fails, it's the test that's broken, not the module itself. This is especially likely to be the case in this sort of situation, wherein you know why the test is failing.

On the other hand, it does also make sense that if MySQL is really really old you might have to use an older version of DBD::mysql with it, or else upgrade MySQL.

Of course, "really old" is relative. There's really old as in, "I've got a really old version of Wine on my Gentoo box. I haven't emerged it it in, like, a month or two", and then there's "I've got a really old version of Firefox on my workstation, so old that it's called Firebird", and then there's "My production server has some really old versions of things, because I haven't had time to migrate it from woody to sarge yet", and then there's "This crusty old SunOS box has a really old version of sendmail. I think it's the version that came with the OS." Since you didn't give us the actual version number of your "really old" version of MySQL, it's hard to know whether it's really so old that it's reasonable for DBD::mysql to not support it.


Sanity? Oh, yeah, I've got all kinds of sanity. In fact, I've developed whole new kinds of sanity. You can just call me "Mister Sanity". Why, I've got so much sanity it's driving me crazy.

In reply to Re: Mysql 3.23.58 and DBD::mysql by jonadab
in thread Mysql 3.23.58 and DBD::mysql by Anonymous Monk

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.