5 messages in com.mysql.lists.perlparsing mysql error messages
FromSent OnAttachments
Dave Howorth25 Aug 2005 05:05 
Jochen Wiedmann25 Aug 2005 05:22 
Dave Howorth25 Aug 2005 05:27 
Jan Kratochvil25 Aug 2005 05:40 
Jochen Wiedmann25 Aug 2005 05:44 
Subject:parsing mysql error messages
From:Dave Howorth (dhow@mrc-lmb.cam.ac.uk)
Date:08/25/2005 05:05:06 AM
List:com.mysql.lists.perl

I'd like to do some processing of MySQL database errors, either to try to recover from the condition or to display a more meaningful message to a user.

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 :)

I haven't looked into this topic before so I wondered what the prior art is and whether there are any CPAN modules that might help with this? I'd be grateful for any pointers.

Thanks, Dave