Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: DBD::MariaDB or DBD::Mysql

by LanX (Saint)
on Oct 14, 2018 at 09:29 UTC ( [id://1223997]=note: print w/replies, xml ) Need Help??


in reply to DBD::MariaDB or DBD::Mysql

Quote: The DBD-mysql driver for MySQL should generally work with MariaDB as well, although it has a number of bugs that have not been attended to, hence the need for DBD::MariaDB.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^2: DBD::MariaDB or DBD::Mysql
by 1nickt (Canon) on Oct 14, 2018 at 13:33 UTC

    That's an over-simplistic and misleading answer. The above is a quote from the MariaDB website. But the OP is enquiring about MySQL. The MySQL website states:

    27.9 MySQL Perl API

    The Perl DBI module provides a generic interface for database access. You can write a DBI script that works with many different database engines without change. To use DBI with MySQL, install the following:

    The DBI module.

    The DBD::mysql module. This is the DataBase Driver (DBD) module for Perl.
    See https://dev.mysql.com/doc/refman/8.0/en/apis-perl.html

    Hope this helps!


    The way forward always starts with a minimal test.
      DBD::mysql is *a* database driver for MySQL and MariaDB, but it has many maintenance issues and bugs and fundamentally broken Perl string handling. DBD::MariaDB is a fork that still supports both databases and fixes these issues, and should be used for all new projects. The MySQL website of course doesn't mention it because it's new.
      > That's an over-simplistic and misleading answer. 

      Appropriate to an over-simplistic and misleading question? 

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2025-11-08 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (65 votes). Check out past polls.

    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.