一.DCL语句(数据控制语句) 1.授权远程访问,针对IP和用户.DB的 grant {privilege list} on {dbname}.* to '{user}'@'{ip}' identified by '{pwd}' with grant option ex: grant all privilege on *.* to 'root'@'%' identified by '***' with grant option; -- %代表所有IP grant all privileges o…