On Mon, Jun 23, 2003 at 03:24:17PM -0400, [EMAIL PROTECTED] wrote:
> On Mon, 23 Jun 2003, Tim Bunce wrote:
> 
> > We can't do much with reports of core dumps without a stack trace
> > from the core file, or at least a DBI trace().
> 
> Sorry about that, here's a GDB trace:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xff0c7628 in mysql_real_connect ()
>    from /usr/local/mysql/lib/mysql/libmysqlclient.so.10

Well that puts it firmly into the realm of a DBD::mysql or mysql
client library problem. Check your mysql command works okay,
recompile DBD::mysql, etc etc.

Tim.

> use DBI;                        #establish connection to the database
> $driver = "mysql";
> $drh = DBI->install_driver($driver);

p.s. The install_driver calls isn't needed and should be removed.

> $dsn = "DBI:$driver:database=webmaster;host=localhost";
> # $dbh = DBI->connect($dsn,'nobody','');
> #$username = "nobody";
> #$auth = "";
> $dbh = DBI->connect($dsn, $username, $auth);
> 
> -------------------------
> 
> 
> Again, TIA, 
> 
> --Duncan
> 

Reply via email to