授权给指定用户,使用navicat在其他ip都可以连接linux服务器上的mysql库
grant all privileges on ao.* to 'tony'@'localhost' identified by '123456';
在ao库中所有表. 同意 ,授权 给tony,在本地ip 鉴定码 是123456
grant all privileges on ao.* to 'tony'@'localhost' identified by '123456';
在ao库中所有表. 同意 ,授权 给tony,在本地ip 鉴定码 是123456