Re: [CDBI] processing mysql errors

[prev] [thread] [next] [Date index for 2005/08/25]

From: Matt S Trout
Subject: Re: [CDBI] processing mysql errors
Date: 13:01 on 25 Aug 2005
On Thu, Aug 25, 2005 at 12:49:54PM +0100, Dave Howorth wrote:
> Matt S Trout wrote:
> Thanks for this. Yes DBD::mysql makes some attributes available, 
> including mysql_errno and mysql_error. I believe these are propagated up 
> through DBI and Class::DBI. But the detailed information, which users 
> want and which my attempt at automatic recovery needs, is buried in the 
> MySQL mysql_error string, AFAIK. So it seems like I need to parse that 
> and I can't believe I'm the first to want to do it :)

Ahh, right. You didn't make what you were trying to do clear in your first
e-mail - or at least not to me :)

"No idea" then but some of the following might be a starting point (and the
pipeline's a handy one for people's records anyway IMO) -

matthewt$ zcat 02packages.details.txt.gz | awk '{print $3}' | grep -i mysql \
>           | perl -pe 's!.*/!!; s!-\d.*!!;' | sort -u
ApacheMysql
CGI-Session-Driver-flexmysql
CGI-Session-FlexMySQL
Class-DBI-Loader-mysql-Grok
Class-DBI-mysql
Class-DBI-mysql-FullTextSearch
Crypt-MySQL
DBD-mysql
DBD-mysql-AutoTypes
DBD-mysql-SimpleMySQL
DBD-mysqlPP
DBIx-MySQLSequence
DateTime-Format-MySQL
Msql-Mysql-modules
MySQL-Backup
MySQL-Config
MySQL-DateFormat
MySQL-Diff
MySQL-Easy
MySQL-GUI
MySQL-TableInfo
Mysql-Locker
Mysql-NameLocker
Net-MySQL
Persistent-MySQL
Qmail-Mysql
Time-Piece-MySQL
XAO-MySQL

        -- 
             Matt S Trout       Specialists in perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] processing mysql errors
Dave Howorth 11:02 on 25 Aug 2005

Re: [CDBI] processing mysql errors
Matt S Trout 11:21 on 25 Aug 2005

Re: [CDBI] processing mysql errors
David Baird 11:37 on 25 Aug 2005

Re: [CDBI] processing mysql errors
Dave Howorth 11:49 on 25 Aug 2005

Re: [CDBI] processing mysql errors
Matt S Trout 13:01 on 25 Aug 2005

Re: [CDBI] processing mysql errors
Brad Bowman 04:42 on 05 Sep 2005

Re: [CDBI] processing mysql errors
Dave Howorth 09:37 on 06 Sep 2005

Generated at 16:14 on 20 Sep 2005 by mariachi v0.52