|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Re^5: Perl XAMPP DB Connect issue (Windows/Strawberry?)by kcott (Archbishop) |
| on Jan 01, 2023 at 08:57 UTC ( [id://11149255]=note: print w/replies, xml ) | Need Help?? |
|
G'day Polyglot, Firstly, I'm not a big MSWin user and mostly avoid working with it directly. So, feel free to question anything that follows. "... downgrading to Windows 11." [my additional emphasis] To the best of my knowledge, "Windows 11" is the latest MSWin offering. Perhaps a typo, or misunderstanding, with "downgrading". "Does anyone here have it running natively, sans VM?" Yes, I do. From cmd.exe:
perlmodver is a quick-and-dirty script that I set up some years ago. It determines if modules are installed and, if so, their version and location.
I would have installed StrawberryPerl v5.26.3 about four years ago; my memory of doing this is now somewhat hazy. I'm 99% certain that I would have installed the DBI and DBD::mysql modules via the cpan utility. If you're installing via cpan — there are other utilities to do the same, e.g. cpanm & cpanp — ensure that cpan.exe (or equivalent) is in the same bin/ directory as perl.exe.
You will need to install the DBI and DBD::mysql modules with the Perl version you're using. You can't simply copy them from another installation and expect them to work. I suspect this may be (at least part of) the problem you describe in "Re^2: Perl XAMPP DB Connect issue (Windows/Strawberry?)"; although, I am somewhat guessing about that. — Ken
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||