MySQL权限表,控制用户对数据库的访问,存在mysql数据库中,由mysql_install_db初始化,包括user,db,host,tables_priv,columns_priv,procs_priv 1.user表,记录允许连接到服务器的账号信息,权限为全局级. 用户列(包括host,user,password,前二者为user表的联合主键). 权限列,描述用户权限,值为N or Y,默认值都为N,修改需要靠grant或update 安全列 n 两个ssl相关,用于加密,show v
private(私有的) 默认的(什么都不写) protected(受保护的) public(公共的 ) 同一个类中 yes yes yes yes 同一个包中不同类之间 no yes yes yes 不同包中有继承关系的类 no no yes yes 不同包中没有继承关系的类 no no no yes java访问权限表:(yes:可以访问:no:不可访问) java中的访问权限修饰符: private:私有的被修饰的成员只能在本类中使用: 默认的(就是什么都不写):默认的,被修饰的成
7.2.2 Grant Tables 授权表 The mysql system database includes several grant tables that contain information about user accounts and the privileges held by them. This section describes those tables. For information about other tables in the system databas