Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Perl and Mysql Queries

by Milti (Beadle)
on Jun 12, 2024 at 14:36 UTC ( [id://11159921]=note: print w/replies, xml ) Need Help??


in reply to Perl and Mysql Queries

Problem solved! Thanks for all the suggestions but I gave up and removed Mysql 8! Went back to 5.1 and everything works just as intended! So much for upgrades!!!

Replies are listed 'Best First'.
Re^2: Perl and Mysql Queries
by The_Dj (Scribe) on Jun 13, 2024 at 01:35 UTC
    If it helps, I've been using MariaDB recently.
    It's just about a drop-in replacement for MySQL and I haven't had any such issues with the latest version.
      just about a drop-in replacement for MySQL

      Since they forked, MySQL and MariaDB have diverged quite a bit...of course, they both support the core SQL language specification but that still leaves lots of room for differences.

      We use MySQL Workbench for creating visual ERDs and building the DDL for the databases. There isn't an alternative for MariaDB that I'm aware of. An immediate problem with using this for MariaDB is that the MySQL tool adds the VISIBLE keyword to indexes. MySQL uses VISIBLE and INVISIBLE whereas MariaDB has visible indexes (with no keyword) and IGNORED indexes.

      Plus, our main production database mostly uses the Aria table engine, which isn't available in MySQL. It also uses temporal tables which have a vastly different implementation between MySQL and MariaDB.

      In short, MariaDB is far from drop-in replacement for MySQL for anything beyond the simplest use case.

        And then there is the one massive distinction: one of these is owned, controlled and sold by Oracle and the other isn't and almost certainly never will be.

        We've been using MariaDB (and DBD::MariaDB) for almost 10 years now. It has been a bit ahead of MySQL in a few areas of interest to us but the really important part is that it is properly open source and therefore isn't going away (or being restricted or whatever) at the whim of a notorious corporation.


        🦛

Re^2: Perl and Mysql Queries
by Danny (Hermit) on Jun 12, 2024 at 15:21 UTC
    If you decide to give it another try at some point, add mysql_ssl=1 to your data source like so:
    DBI->connect('dbi:mysql:mysql_ssl=1;database=jobs_db','Poster','Poster +passwd')

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-09-17 22:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (22 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.