Based on what you've posted, it's not at all clear to me what could be causing the problem. (Perhaps you've left some stuff out?)

If it's the case that you're getting reports about not being able to pass tests during the installation process, this can happen if you've assigned a password for the mysql root user account (as per the recommendations in the mysql installation), but forgot to provide the password when starting up the DBD::mysql installation. In this case, the tests fail because the "make test" portion of the install can't connect to the mysql server. (Of course, this also assumes that the mysql daemons are actually running when you install DBD.)

I apologize for being a little foggy on the exact manner for specifying the connection info, but the module docs and/or other monks should be able to help, if that's the problem.


In reply to Re: Can't Install DBD::mysql by graff
in thread Can't Install 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.