GRANT ALL PRIVILEGES ON *.* TO 'root'@'218.12.50.60' IDENTIFIED BY 'jb51' WITH GRANT OPTION
flush privileges
用grant给mysql新建账号,在新账号时限止ip段 例如grant select on dbname.* to dbuser@'IP' identified by 'pass'
欢迎分享,转载请注明来源:内存溢出
GRANT ALL PRIVILEGES ON *.* TO 'root'@'218.12.50.60' IDENTIFIED BY 'jb51' WITH GRANT OPTION
flush privileges
用grant给mysql新建账号,在新账号时限止ip段 例如grant select on dbname.* to dbuser@'IP' identified by 'pass'
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)