170 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
167
views
Perl DBI + DBD::Oracle crashes at exit on newer glibc versions
I'm encountering a crash at exit(0) in a simple Perl script using DBI with DBD::Oracle, specifically when running on newer versions of glibc.
Here’s a minimal script to reproduce the issue:
use DBI;
...
0
votes
1
answer
228
views
error in running cpanm --installdeps on ubuntu 18.04
I'm trying to intall defects4j on ubuntu 18.04. but when I run the command:cpanm --installdeps .
I get errors on jason and DBD.
faeze@ubuntu:~/defects4j$ cpanm --installdeps .
--> Working on .
...
-1
votes
1
answer
440
views
Read all records from the database using call functions in ims
I want to write a batch program with IMS that can get all the records in the database. The structure of my database is as follows: a root segment and a segment below it that has several occurrences ...
0
votes
0
answers
77
views
Does DBD::DB2 have an option to enable automatic decoding?
Does DBD::DB2 have a switch that performs automatic decoding from UTF-8, such as mysql_enable_utf8mb4 in DBD::mysql?
2
votes
1
answer
200
views
How to check if MySQL service is running with DBD::mysql
I am using the following DBD::mysql statement to connect to a MySQL database:
use DBI;
# Connect to the database.
my $dbh = DBI->connect("DBI:mysql:database=test;host=localhost",
...
1
vote
1
answer
88
views
DBD::mysql: ChopBlanks
Why are trailing blanks chopped off from the column value even though ChopBlanks is not enabled?
use DBI;
my $value = ' string ';
my $db = 'my_mysql_db';
my $dbh = DBI->connect( "dbi:...
sid_com's user avatar
- 25.4k
1
vote
0
answers
536
views
How to fix the 'Can't load'-error when a perl script is executing 'use DBD::mysql;'
For years, I'm running a perl script on my Synology NAS. This script writes to a MariaDB database. I never had any errors. Until the migration to DSM7. This is what happened ...
I never had any ...
-1
votes
2
answers
210
views
DBI SQL_VARCHAR is not supporting, getting error DBD::ODBC::st bind_param failed: Data type is not supported. [typeId=-9] (SQL-HYC00)
I am using Gridgain as database. Perl script is written to read data from xml and insert/update the data to Gridgain database.
Passing XML data as hash to following line of code
use DBI;
use DBD::ODBC;...
0
votes
1
answer
295
views
Getting compilation error Can not load Mysql.pm in @INC
I am using RHEL 8 server where perl v5.26.0 has been installed. In my project there are lots of legacy perl modules who are using Mysql.pm as below.
require 5.004;
require Exporter;
use Mysql;
While ...
1
vote
1
answer
246
views
Perl DBD::SQLite installation fail on win7
I never installed DBI or DBI::SQLite, because they seem to be built into my Perl v5.32 installation. They have been working fine in a script I'm developing, which is now about 300 lines, but I ...
0
votes
1
answer
198
views
How to build DBD::mysql with DBI in a custom @INC?
I'm building DBI and DBD::mysql in a continuous integration build server. The build of DBI is successful, as seen in the excerpt of the build log below. It clearly installs DBI/DBD.pm in the correct ...
1
vote
0
answers
1k
views
Can't install "DBD-mysql" on Mac
When running this command: perl -MCPAN -e 'install DBD::mysql' I get a really long output of different errors:
Reading '/Users/philipjoss/.cpan/Metadata'
Database was generated on 2021年9月07日 ...
Jossy's user avatar
- 1,131
1
vote
1
answer
215
views
FreeBSD Can't locate loadable object for module DBD::mysql
I installed DBD::mysql, but Perl does not recognize it:
root@bsd:~ # freebsd-version
13.0-RELEASE
root@bsd:~ # perl -v
This is perl 5, version 34, subversion 0 (v5.34.0) built for amd64-freebsd
...
1
vote
2
answers
2k
views
DBD::mysql installation on Catalina/Big Sur fail with 'EXTERN.h' file not found?
I install DBD::mysql on Catalina preparing:
perl Makefile.PL --testpassword=s3kr1t --testhost=localhost --testport 3306 --testuser=test --libs="-L/usr/local/opt/openssl/lib -lssl -lcrypto -L/usr/...
0
votes
0
answers
74
views
Ruby: Gem dbd-pg(0.3.9) not working with Ruby 2.7
I'm trying to migrate very old script to ruby 2.7, gem seems to be installed correctly but its throwing out error i am assuming that error is because the script is expecting PG gem version to be 0.9.0 ...