Archive

Archive for January, 2010

mysql-client-5.1 readline is not working anymore

January 5th, 2010

$ mysql –version
mysql  Ver 14.14 Distrib 5.1.37, for debian-linux-gnu (i486) using  EditLine wrapper

  • vi-mode is not working
  • emacs mode is not full supported

To solve this problem use the following trick:

Install rlwrap:
sudo apt-get install rlwrap

Set a alias in your profile/bashrc
alias mysql='rlwrap -a mysql'

All readline features should now work again... Happy mysqlvimming :)

Bash, Development ,