Segmentation fault while connecting to mysql through DBD::Mysql
From: Shiva kumar (skumar_uvce_at_yahoo.com)
Date: 09/28/04
- Previous message: Steffen Goeldner: "Re: DBD::ADO error messages"
- Next in thread: Christian Merz: "Re: Segmentation fault while connecting to mysql through DBD::Mysql"
- Reply: Christian Merz: "Re: Segmentation fault while connecting to mysql through DBD::Mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Sep 2004 02:18:05 -0700 (PDT) To: dbi-users@perl.org
Hi All,
When I try to connect to mysql db through perl dbd,
get segmentation fault error. attached DBI trace
report. Any help on this is appreciated.
Name "main::dbwritesallowed" used only once: possible
typo at ./t.pl line 14.
DBI 1.15-nothread dispatch trace level set to 5
->
DBI->connect(DBI:mysql:host=localhost;database=bugs;port=3306,
bugs, ****)
-> DBI->install_driver(mysql) for perl=5.008003
pid=2777 ruid=0 euid=0
install_driver: DBD::mysql loaded (version
2.9002)
New DBI::dr (for DBD::mysql::dr, parent=, id=)
dbih_setup_handle(DBI::dr=HASH(0x811cd40)=>DBI::dr=HASH(0x8178e68),
DBD::mysql::dr, 0, Null!)
dbih_make_com(Null!, DBD::mysql::dr, 84)
dbih_setup_attrib(DBI::dr=HASH(0x8178e68), Err,
Null!) SCALAR(0x8068b80) (already defined)
dbih_setup_attrib(DBI::dr=HASH(0x8178e68), State,
Null!) SCALAR(0x811f708) (already defined)
dbih_setup_attrib(DBI::dr=HASH(0x8178e68), Errstr,
Null!) SCALAR(0x805bb74) (already defined)
dbih_setup_attrib(DBI::dr=HASH(0x8178e68),
Handlers, Null!) ARRAY(0x8178df0) (already defined)
dbih_setup_attrib(DBI::dr=HASH(0x8178e68), Debug,
Null!) 0 (already defined)
<- install_driver= DBI::dr=HASH(0x811cd40)
-> connect for DBD::mysql::dr
(DBI::dr=HASH(0x811cd40)~0x8178e68
'host=localhost;database=bugs;port=3306' 'bugs' ****
HASH(0x804dc18))
New DBI::db (for DBD::mysql::db,
parent=DBI::dr=HASH(0x8178e68), id=HASH(0x8178dc0))
dbih_setup_handle(DBI::db=HASH(0x8178e14)=>DBI::db=HASH(0x8178f04),
DBD::mysql::db, 811ca94, HASH(0x8178dc0))
dbih_make_com(DBI::dr=HASH(0x8178e68),
DBD::mysql::db, 596)
dbih_setup_attrib(DBI::db=HASH(0x8178f04), Err,
DBI::dr=HASH(0x8178e68)) SCALAR(0x8068b80) (already
defined)
dbih_setup_attrib(DBI::db=HASH(0x8178f04), State,
DBI::dr=HASH(0x8178e68)) SCALAR(0x811f708) (already
defined)
dbih_setup_attrib(DBI::db=HASH(0x8178f04), Errstr,
DBI::dr=HASH(0x8178e68)) SCALAR(0x805bb74) (already
defined)
dbih_setup_attrib(DBI::db=HASH(0x8178f04),
Handlers, DBI::dr=HASH(0x8178e68)) ARRAY(0x8178df0)
(already defined)
dbih_setup_attrib(DBI::db=HASH(0x8178f04), Debug,
DBI::dr=HASH(0x8178e68)) 0 (already defined)
imp_dbh->connect: dsn =
host=localhost;database=bugs;port=3306, uid = bugs,
pwd = integral
imp_dbh->MyLogin: dbname = bugs, uid = bugs, pwd =
integral,host = localhost, port = 3306
imp_dbh->mysql_dr_connect: host = localhost, port =
3306, uid = bugs, pwd = integral
imp_dbh->mysql_dr_connect: client_flags = 2
imp_dbh->mysql_dr_connect: <- <- connect=
DBI::db=HASH(0x8178e14) at
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/DBI.pm
line 412.
-> STORE for DBD::mysql::db
(DBI::db=HASH(0x8178f04)~INNER 'PrintError' 1)
Segmentation fault
Thanks in advance
Shiv
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
- Previous message: Steffen Goeldner: "Re: DBD::ADO error messages"
- Next in thread: Christian Merz: "Re: Segmentation fault while connecting to mysql through DBD::Mysql"
- Reply: Christian Merz: "Re: Segmentation fault while connecting to mysql through DBD::Mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|