方法一、
vi /etc/my.cnf
[mysql]
#no-auto-rehash
auto-rehash #添加auto-rehash
重启一下mysql服务
方法二、
在mysql启动时加参数auto-rehash
mysqld_safe --user=mysql --auto-rehash &
方法一、
vi /etc/my.cnf
[mysql]
#no-auto-rehash
auto-rehash #添加auto-rehash
重启一下mysql服务
方法二、
在mysql启动时加参数auto-rehash
mysqld_safe --user=mysql --auto-rehash &