mysql自动补全功能(只能用于表/列 名)时间:2023-03-09 01:19:41 关键字:mysql自动补全,auto-rehash 注:只能补齐表,列名,使用tab进行补全操作 一、修改my.cnf vi /etc/my.cnf [mysql] auto-rehash #添加auto-rehash #重启mysql服务 二、客户端连接mysql时 在mysql启动时加参数auto-rehash mysql –uroot -pmysql --auto-rehash