Should require or suggest libdbd-mysql-perl package

Bug #538189 reported by frell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sqlgrey (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: sqlgrey

On Ubuntu 9.10 Server x86_64.

If in sqlgrey.conf you set "db_type = mysql" then upon starting it crashes with the following error;

Mar 12 17:59:06 mail1 sqlgrey: fatal: Can't locate DBD/mysql.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 10) line 3.
Mar 12 17:59:06 mail1 sqlgrey: fatal: install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 10) line 3.#012Perhaps the DBD::mysql perl module hasn't been fully installed,#012or perhaps the capitalisation of 'mysql' isn't right.#012Available drivers: DBM, ExampleP, File, Gofer, Pg, Proxy, Sponge.#012 at /usr/sbin/sqlgrey line 801

Installing the "libdbd-mysql-perl" package resolves this issue.

I think the sqlgrey package should suggest or require "libdbd-mysql-perl" package.

Revision history for this message
frell (lee) wrote :

Still effects 11.10.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.