1、授权指定用户访问,设置访问密码,指定访问主机。(1)访问单个数据库mysql>grant all privileges on test.* to 'root'@'%';(说明:设置用户名为root,密码为空,可访问数据库test)(2)访问全部数据库权限mysql>grant all privileges on *.* to 'root'@'%';(说明:设置用户名为root,密码
图解SQL的Join
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号