1.利用数据库自带的auto-rehash功能可以自动补全表名、列名
在my.conf中加入
[mysql]
#no-auto-rehash
auto-rehash #添加auto-rehash
或者启动时增加参数
mysql -u root -p --auto-rehash
2.使用mycli客户端可以补全数据库名,命令,函数等
pip install mycli
mycli //直接以root 空密码 本地登录
1.利用数据库自带的auto-rehash功能可以自动补全表名、列名
在my.conf中加入
[mysql]
#no-auto-rehash
auto-rehash #添加auto-rehash
或者启动时增加参数
mysql -u root -p --auto-rehash
2.使用mycli客户端可以补全数据库名,命令,函数等
pip install mycli
mycli //直接以root 空密码 本地登录