Ubuntu 16.04 默认的 mycli 版本太低了,Ctrl - r 搜索历史的功能竟然没有。于是打算升级一下 mycli,结果花了2个小时才升级完成。
记录一下,源改成国内,代码取自 github,python 2.7:
sudo pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -U https://github.com/dbcli/mycli/archive/master.zip
Ubuntu 16.04 默认的 mycli 版本太低了,Ctrl - r 搜索历史的功能竟然没有。于是打算升级一下 mycli,结果花了2个小时才升级完成。
记录一下,源改成国内,代码取自 github,python 2.7:
sudo pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -U https://github.com/dbcli/mycli/archive/master.zip