Re: errno=104

[prev] [thread] [next] [lurker] [Date index for 2006/08/31]

From: Michael Leuchtenburg
Subject: Re: errno=104
Date: 02:44 on 31 Aug 2006
Ah, errno. How well I've learned to hate you from MySQL's error
messages. "Something bad happened! Errno 131! But I'm not going to tell
you what that means!"

MySQL does, however, come with a perror command. Thusly:
$ perror 131
MySQL error code 131: Command not supported by database

Amazing! Filling the gaps with a commandline tool! Too bad I'm usually
remote from my database. On the plus side, it handles system errors too:
$ perror 104
OS error code 104:  Connection reset by peer

Still, MySQL folks? Think you could just call perror and return the
string along with the numeric code? It'd be a good bit less hateful.

-- 
<>                       :#,_@                          v
<^ " Michael Leuchtenburg  |  http://slashhome.org/ " +73
^  " cell: 413.433.0739                             " +7<

Generated at 03:01 on 31 Aug 2006 by mariachi 0.52