in reply to Re: Perl XAMPP DB Connect issue (Windows/Strawberry?)
in thread Perl XAMPP DB Connect issue (Windows/Strawberry?)

Well, if it's only a debugger, it sure fooled me. They might choose a less ambiguous piece of namespace next time. What package does XAMPP expect one to use for database connections?

Blessings,

~Polyglot~

  • Comment on Re^2: Perl XAMPP DB Connect issue (Windows/Strawberry?)

Replies are listed 'Best First'.
Re^3: Perl XAMPP DB Connect issue (Windows/Strawberry?)
by soonix (Chancellor) on Dec 31, 2022 at 16:22 UTC
    I currently don't have XAMPP installed, and on the XAMPP website they don't mention which Perl version and modules are installed by default, but the Stackoverflow post that I referenced in my previous post lets me assume it is DBI. (I had noticed the use DB; in your OP, too, but, like you, had assumed it might be another database layer in XAMPP) -- what does it say if you try to use DBI; instead?
      No, there was no DBI package with XAMPP. The only other "DB"-starting package was something like DB_filter (that Windoze) computer has been updating for some time now--something I had no choice in--making it inaccessible. Hopefully it's close to finished with that now so I can continue working on it.

      I guess that's why I assumed that the "DB.pm" must be the equivalent for DBI. There was no other package that looked anywhere close. Meanwhile, I've begun the process (interrupted) of trying to install DBD::mysql, but found I needed nearly a GB of additional installs to enable a C compiler before "make" would even do anything on it...still trying to get the compiler going. It involved yet another major package install...this time MinGW.

      Blessings,

      ~Polyglot~

        That sounds awkward. So, if cpan install DBI needs a compiler, perhaps it is worth to try whether cpan install DBI::PurePerl would work with DBD:mysql...