[rt-devel] Mysql DBI error on make install

Shaun Hedges shaun at lexicom.ab.ca
Wed May 16 13:44:22 EDT 2001


YvrS-DAT02-LI:/opt/src/webrt/rt2 # /usr/bin/perl /opt/webrt2/etc/insertdata
DBD::mysql::st execute failed: Duplicate entry 'RT_System' for key 2 at
/usr/lib/perl5/site_perl/5.005/DBIx/SearchBuilder/Handle.pm line 297.
RT::Handle=HASH(0x85bb540) couldn't execute the query 'INSERT INTO Users
(Created, Creator, Name, LastUpdated, Privileged, RealName, LastUpdatedBy,
Comments) VALUES (?, ?, ?, ?, ?, ?, ?, ?)'Duplicate entry 'RT_System' for
key 2
Creating system user...Could not create user

I see this error now on make install and when running the insertdata script
arbitrarily.  Any ideas?

Thx


-----Original Message-----
From: rt-devel-admin at lists.fsck.com
[mailto:rt-devel-admin at lists.fsck.com]On Behalf Of Alex Krohn
Sent: Wednesday, May 16, 2001 10:30 AM
To: Shaun Hedges
Cc: rt-devel at lists.fsck.com
Subject: Re: [rt-devel] Mysql DBI error on make install


Hi,

> Yes, seems reasonable.
>
> Are newer versions backwards compatible?  I have some code that uses the
old
> style syntax still.

Yes, The old style DBI:mysql:db:host will work on all versions of
DBD::mysql, the new version only works on fairly recent versions.

Cheers,

Alex

--------------------  Gossamer Threads Inc.  ----------------------
Alex Krohn                        Email: alex at gossamer-threads.com
Internet Consultant               Phone: (604) 687-5804
http://www.gossamer-threads.com   Fax  : (604) 687-5806


_______________________________________________
Rt-devel mailing list
Rt-devel at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel





More information about the Rt-devel mailing list