Questions tagged [dbd-mysql]

11 questions
5
votes
2 answers

Installing perl DBD::mysql fails on Mac Sierra with mysql brew install

Trying to install DBD::mysql on my Mac Sierra computer running mysql v 5.7.17. Getting the following error when trying to install with cpanm install DBD::mysql: Checking if libs are available for compiling... Can't link/include C library 'ssl',…
StevieD
  • 6,925
  • 2
  • 25
  • 45
2
votes
2 answers

error "Can't link/include C library 'zstd'" installing DBD::mysql on Mac Big Sur - MacPorts MySQL

I'm using mysql8 on Big Sur - it was installed with MacPorts. I've been having trouble installing DBD::mysql - both via CPAN and manually. The error message I get is: Checking if libs are available for compiling... Can't link/include C library…
2
votes
0 answers

Cannot install DBD::mysql on Mac

(It's my first time posting here, so the format might not be right, sorry.) I have been trying to install DBD::mysql on my macOS Catalina using cpan, but I have not succeeded yet. I used perlbrew, and tried mysql and mariaDB, but still no luck.…
Thomas
  • 21
  • 2
2
votes
1 answer

cpan install of DBD::mysql failing on tests and symbol not found. OSX Mojave

This looks like it's been around for years - but I can't find anything recent and related to Mac, and dealing only with just installing the CPAN module DBD::mysql I've been trawling the internet for days now... # Failed test 'use DBD::mysql;' # …
Harry McGovern
  • 517
  • 5
  • 19
2
votes
1 answer

use --login-path=local in perl DBD::mysql

mysql supports passwordless login using stored local authentication credentials in a file named .mylogin.cnf (see here for more details). for example: mysql --login-path=local My questions is: how to do this in perl using DBD::mysql?
1
vote
0 answers

Cannot install DBD-mysql on windows

I'm trying to install this package: https://metacpan.org/pod/DBD::mysql::INSTALL I have mysql configured on my system. I'm trying to perform the cmds: perl Makefile.PL make make test make install This is the output of `perl Makefile.PL…
jonb
  • 845
  • 1
  • 13
  • 36
1
vote
1 answer

MySQL - DBI: How to tell if the first column is an auto increment column?

Is it possible with this information to reliably tell if the first column of the table is an auto increment column? The available information is as follows : database handle ($dbh) database name table name
sid_com
  • 24,137
  • 26
  • 96
  • 187
1
vote
0 answers

Perl/MySQL: last_insert_id returns 0

last_insert_id returns for the newly inserted row. Everything is working just fine with Perl 5.18. From the forums I understand that it might be because of some loosing connection. But can't see anything in the trace. Here is the code sample: …
1
vote
1 answer

Apache2 authentication with mod_authn_dbd and MySQL

Following this howto I tried to set up my Debian 8 server with Apache 2.4.10 and MySQL 5.5.50 to use MySQL as authentication backend for my SVN. I get an internal server error and can't figure out why. First I added the file…
grml
  • 23
  • 1
  • 4
0
votes
0 answers

Strawberry Perl and TLS 1.2 connection error with DBD::mysql

My company currently relies on ActivePerl for windows implementations, but are trying out Strawberry Perl. The only real problem we have hit is accessing MySQL when TLS 1.2 is required. We get the error "Can't connect to DB: TLS version used does…
0
votes
1 answer

LoadError: cannot load such file -- dbd-mysql

i could use a little assistance... I have searched everywhere and can't seem to find anything pertaining to this particular gem throwing errors. I just installed dbi mysql and dbd-mysql gems just fine but when i loaded up IRB to make sure…
Micky Scandal
  • 61
  • 1
  • 1
  • 3