Are you trying to do local development of something that is in production, in Perl? Or writing Perl as part of your job, or just using Perl as a tool to help you do your job? Does your job require you to work in windows or just have it installed on your work system? The more that you can tell us, the better we can suggest things to help.

mysql 5.7 is not stable, it is well past end of life and no longer receiving security updates, so should be considered unsafe. You really should not use it unless you have to to mimic a production environment that is still using it.

That said, show more exactly what you did to try to install DBD::mysql and what errors resulted. Maybe an older version would work?

Not sure what role the database plays in your job; if you are using the MariaDB client, why not use the server too? Note that MySQL and MariaDB are not fully compatible anymore; each has added different features since the fork, or implemented new features in different, incompatible ways, though if you stick to things supported in MySQL 5.5, you won't see many issues.

Other alternatives: run perl under WSL 2, or a VM, or cygwin? Any of those can make building modules easier.

In reply to Re: Help on how to compile/install module DBD::MariaDB/Mysql on Windows using Strawberry Perl by ysth
in thread Help on how to compile/install module DBD::MariaDB/Mysql on Windows using Strawberry Perl by gosseyn

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.