Bad argument while running the program

2006-02-20 Thread Danaram, RadhaKrishnan \(Cognizant\)
Hi, I have written a PERL script to connect to TERADATA. While executing the script, it throws an error as below mentioned, Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at D:/Perl /lib/Socket.pm line 373. Can anyone help me to resolve this error. The script we ha

Re: DBD::mysql failing to 'make test'

2006-02-20 Thread Ron Savage
On Mon, 20 Feb 2006 17:19:45 -0500, James E Keenan wrote: Hi James > (Huge exhale.) This was the most difficult Perl module > installation I've ever faced. Thanks for your assistance. I'm shocked by what you had to go thru. I've never managed to compile DBD::mysql so I had no idea I had inadv

DBD::Sybase and IQ anomaly.

2006-02-20 Thread Matthew Persico
One of my programmers is reporting this. In my heart I believe its got to be a stupid-perl-typo-that-we-don't-see, but since we both cannot see it, I submit it to the community at large, with asbestos underwear firmly in place. The gist of the problem is that we are connecting to an IQ database an

Re: ppd file for Teradata DBD

2006-02-20 Thread Dean Arnold
Danaram, RadhaKrishnan (Cognizant) wrote: Hi all, I am not able to find database driver for Teradata. If any one knows please let me know. I need the DBD for windows platform. With Regards C.D.Radha Krishnan The free version of DBD::Teradata is available on CPAN. While it does support the u

Re: Strange error when doing insert into DB

2006-02-20 Thread Scott T. Hildreth
On Mon, 2006-02-20 at 21:08 +0530, Hemlata Lalwani wrote: > Hi, >Please give a look at below source code if this can help you: This is Oracle.pm code, which is not your code that is in error. I'm sorry if you cannot send your actual code, I can't show where to fix your code.

Re: Strange error when doing insert into DB

2006-02-20 Thread Hemlata Lalwani
Hi, Please give a look at below source code if this can help you: package DBD::Oracle::db; # == DATABASE == use strict; sub prepare { my($dbh, $statement, @attribs)= @_; # create a 'blank' sth my $sth = DBI::_new_sth($dbh, { 'Statement'

RE: Strange error when doing insert into DB

2006-02-20 Thread Scott T. Hildreth
On Mon, 2006-02-20 at 20:05 +0530, Hemlata Lalwani wrote: > Hi, >Iam also having the same problem..the piece of code is as > below: I'm sorry I don't know what this is referring to? > > > DBD::Oracle::st::_prepare($sth, $statement, @attribs) > or return undef; Are you

Re: bind mysql to two IPs

2006-02-20 Thread Tom Schindl
This has nothing todo with DBI/DBD you should ask this on mysql-forums. Tom Jeff Pang wrote: > hello,lists, > > Is there anyway to bind the Mysql linstening on two different IPs?Thanks. > > -- > Jeff Pang > NetEase AntiSpam Team > http://corp.netease.com > > signature.asc Description: Open

bind mysql to two IPs

2006-02-20 Thread Jeff Pang
hello,lists, Is there anyway to bind the Mysql linstening on two different IPs?Thanks. -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com

Re: ppd file for Teradata DBD

2006-02-20 Thread Alexander Foken
Google has about 10.000 resultsfor "teradata dbd" (http://www.google.com/search?q=teradata+dbd), including links to CPAN and Activestate. And it has more than 400 results fror "teradata dbd ppm" (http://www.google.com/search?q=teradata+dbd+ppm). The third link on the first result page, http://

ppd file for Teradata DBD

2006-02-20 Thread Danaram, RadhaKrishnan \(Cognizant\)
Hi all, I am not able to find database driver for Teradata. If any one knows please let me know. I need the DBD for windows platform. With Regards C.D.Radha Krishnan This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential