用linux登陆mysql,如果想有tab键自动补全功能,则需要加参数 --auto-rehash
如:
mysql -udbname --auto-rehash -h192.168.*** -P3307 -*****