一、修改my.cnf
vi /etc/my.cnf
[mysql]
auto-rehash #添加auto-rehash
重启mysql服务
二、客户端连接mysql时
在mysql启动时加参数auto-rehash
mysql –uroot -pmysql --auto-rehash
一、修改my.cnf
vi /etc/my.cnf
[mysql]
auto-rehash #添加auto-rehash
重启mysql服务
二、客户端连接mysql时
在mysql启动时加参数auto-rehash
mysql –uroot -pmysql --auto-rehash
本文标题:mysql自动补全
本文链接:https://www.haomeiwen.com/subject/rzodchtx.html
网友评论