Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: MySQL/MariaDB DBD install problem

by syphilis (Archbishop)
on Sep 25, 2024 at 03:08 UTC ( [id://11161923]=note: print w/replies, xml ) Need Help??


in reply to Re^2: MySQL/MariaDB DBD install problem
in thread MySQL/MariaDB DBD install problem

To install DBD-Maria-1.22 onto latest StrawberryPerl-5.40.0, I copied over the libmysql stuff from StrawberryPerl-5.38.2 (portable edition).
That is:
1) copy mysql_config.bat from SP-5.38.2/c/bin to SP-5.40.0/c/bin;
2) copy libmysql__.dll from SP-5.38.2/c/bin to SP-5.40.0/c/bin;
3) copy libmysql.a from SP-5.38.2/c/lib to SP-5.40.0/c/lib;
4) copy the mysql50716 folder from SP-5.38.2/c/include to SP-5.40.0/c/include;

Then I built and installed the module manually from downloaded source (by running perl Makefile.PL, then gmake test, then gmake install).
You could also install version 1.22 using either the cpan or cpanm utilities - but you have to direct it to grab the 1.22 source.

Version 1.23 won't build against that library because the symbol __imp___pioinfo can't be resolved.
If you can substitute in a (presumably more recent) mysql library that resolves that symbol, then you should be able to install version 1.23.

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: MySQL/MariaDB DBD install problem
by Anonymous Monk on Oct 08, 2025 at 03:12 UTC
    Thank you, Rob! Your instructions assisted me in installing the most recent version of the DBD::mysql 4 branch driver. This will help buy us perl on windows developers a bit more time...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11161923]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2026-03-16 05:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.