[rt-devel] Mysql DBI error on make install
Shaun Hedges
shaun at lexicom.ab.ca
Wed May 16 13:24:25 EDT 2001
Yes, seems reasonable.
Are newer versions backwards compatible? I have some code that uses the old
style syntax still.
Thx everyone for the help
-----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:22 AM
To: Shaun Hedges
Cc: rt-devel at lists.fsck.com
Subject: Re: [rt-devel] Mysql DBI error on make install
Hi Shaun,
Older DBD::mysql drivers did not support the DBI->connect syntax:
DBI:mysql:dbname=db;host=host
instead you have to use:
DBI:mysql:db:host
We found this on a lot of systems, might be worth switching to the old
style syntax, or mentioning it in the docs.
Cheers,
Alex
On Wed, 16 May 2001 09:55:04 -0700
"Shaun Hedges" <shaun at lexicom.ab.ca> wrote:
> Hi,
>
> Has anyone got this before:
>
> mkdir -p /opt/webrt2/bin
> mkdir -p /opt/webrt2/WebRT/data
> mkdir -p /opt/webrt2/WebRT/sessiondata
> mkdir -p /opt/webrt2/etc
> mkdir -p /opt/webrt2/lib
> mkdir -p /opt/webrt2/WebRT/html
> /usr/bin/perl tools/initdb 'mysql' '/opt/mysql' '127.0.0.1' 'root'
> 'webrt2' create
> Now creating a database for RT.
> Enter the mysql password for root:
> Creating mysql database webrt2.
> DBI->connect(dbname=;host=127.0.0.1) failed: Unknown MySQL Server Host
> 'host=127.0.0.1' (2) at
> /usr/lib/perl5/site_perl/5.005/DBIx/DataSource/Driver.pm line 74
> Unknown MySQL Server Host 'host=127.0.0.1' (2) at
> /usr/lib/perl5/site_perl/5.005/DBIx/DataSource/Driver.pm line 74, <STDIN>
> chunk 1.
> make: *** [createdb] Error 255
>
> I noticed some totally different perl/dbi code before getting a similar
> error. I think it's something to do with the dbi version.
>
> Any ideas?
>
> Sorry of this question has already been answered, i'm new to the list.
>
> Thx
>
>
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
-------------------- 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