Monthly Archives - June 2007

MySQL 5.1 Command line client improvements

Just found this little handy feature today:

Shell

mysql> insert into c select rand()*1000, sha1(rand()) from c;
Query aborted by Ctrl+C
ERROR 1317 (70100): Query execution was interrupted

123

mysql> insert into c select rand()*1000, sha1(rand()) from c;Query aborted by Ctrl+CERROR 1317 (70100): Query execution was interrupted

So now if you press CTRL-C MySQL Command Line Client will not exit […]

Read more