Questions tagged [dbi]
6 questions
7
votes
2 answers
Perl TDS character sets
I'm using the FreeTDS driver with DBD::Sybase, connecting to an MS SQL Server. When I query certain values of certain records, I get this error:
DBD::Sybase::st fetchrow_arrayref failed: OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (9)…
![](../../users/profiles/1749.webp)
skiphoppy
- 181
- 2
- 6
1
vote
2 answers
Configure Perl DBI and DBD in Linux
I am new to Perl and I work in a Linux OEL 5x server. I am trying to configure the Perl DB modules for Oracle connectivity (DBD and DBI modules). Can anyone help me out in the installation procedure?
I had tried CPAN didn't really worked out.
Any…
![](../../users/profiles/110895.webp)
Balualways
- 242
- 2
- 4
- 14
1
vote
2 answers
PERL+mysql: undefined symbol: mysql_init
I've updated mysql (client+server+dev) from the rpms available on mysql.com.
rpm -i MySQL-server-5.5.14-1.linux2.6.x86_64.rpm
rpm -i MySQL-client-5.5.14-1.linux2.6.x86_64.rpm
rpm -i MySQL-devel-5.5.14-1.linux2.6.x86_64.rpm
now, a script that used…
![](../../users/profiles/23585.webp)
Pierre
- 429
- 1
- 5
- 14
0
votes
1 answer
MySQL creds accepted from CLI but not from Perl DBI
I have a remote MySQL server. I can log in from the client machine using:
mysql -h 172.16.0.7 -u mysqlUser -p
and it connects fine.
When I use a simple DBH connection in Perl, with same credentials, the MySql server comes back with Access denied…
![](../../users/profiles/157518.webp)
user157518
- 11
- 2
0
votes
1 answer
perl dbd::mysql cant install (from asterisk perl script)
I ve got problem with perl script for asterisk. I've investigate that when tping use DBI; -- all statcks. After that i added:
my @driver_names = DBI->available_drivers;
foreach (@driver_names){print $MYFILE "Driver = $_\n";}
**OUTPUT**
Driver =…
![](../../users/profiles/43316.webp)
MealstroM
- 1,517
- 1
- 16
- 31
0
votes
1 answer
Random Connections to MySQL refused (Error 111)
A Perl/CGI webapp that has been running fine for almost a year has started to randomly been unable to connect to a remotely hosted MySQL. The Error thrown is :
Can't connect to MySQL server on 'xx.x.xxx.xx' (111)
Reloading the page often solves…
![](../../users/profiles/56102.webp)
joatis
- 101
- 4