Comments on: MySQL kill could be so much more exciting http://www.xaprb.com/blog/2012/08/28/mysql-kill-could-be-so-much-more-exciting/ Stay curious! Fri, 10 May 2013 18:25:19 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Xaprb http://www.xaprb.com/blog/2012/08/28/mysql-kill-could-be-so-much-more-exciting/#comment-20196 Xaprb Wed, 29 Aug 2012 20:45:29 +0000 http://www.xaprb.com/blog/?p=2815#comment-20196 I want haikus.
They would make life lots of fun.
I am not good at them though.

]]>
By: Roy Bellingan http://www.xaprb.com/blog/2012/08/28/mysql-kill-could-be-so-much-more-exciting/#comment-20195 Roy Bellingan Wed, 29 Aug 2012 06:45:57 +0000 http://www.xaprb.com/blog/?p=2815#comment-20195 My launch script says

/etc/init.d/percona start

Mysql , con un bel pò di vitamine

wich is like

Mysql, now vitaminized

]]>
By: Todd Farmer http://www.xaprb.com/blog/2012/08/28/mysql-kill-could-be-so-much-more-exciting/#comment-20193 Todd Farmer Tue, 28 Aug 2012 20:31:37 +0000 http://www.xaprb.com/blog/?p=2815#comment-20193 On a slightly related note, I was also thinking about KILL commands today in the context of long-running transactions, and found myself wishing for KILL TRANSACTION support (where KILL QUERY doesn’t release locks, and KILL CONNECTION might have severe consequences for the application). So I submitted Bug#66582.

]]>
By: Mark Leith http://www.xaprb.com/blog/2012/08/28/mysql-kill-could-be-so-much-more-exciting/#comment-20192 Mark Leith Tue, 28 Aug 2012 19:51:01 +0000 http://www.xaprb.com/blog/?p=2815#comment-20192 So it’s relatively easy to modify error messages, but one thing that could be “interesting” is a new language set, which one could use to set the error message language (such as “humour”):

http://dev.mysql.com/doc/refman/5.0/en/error-message-language.html
http://dev.mysql.com/doc/internals/en/ch29s01s02.html

“Deadlock found, hunt down and beat all other users, or just retry”

Or even “haiku”:

“You just deadlocked, we rolled back your transaction, retrying would be proper”

Of course, these are server error messages, and the client would see client error messages too (especially in the case of a killed connection).. That grand old “Lost connection to MySQL server during query” that could be any number of things.. :)

]]>