GRANT ALL PRIVILEGES ON {db_name}.* TO {username}@‘{host}‘ identified by ‘{password}‘;
ALL PRIVILEGES --所有权限
information_schema.SCHEMA_PRIVILEGES --权限表
mysql.user --用户表
flush privileges --更新权限命令
时间: 2024-10-17 13:06:24
GRANT ALL PRIVILEGES ON {db_name}.* TO {username}@‘{host}‘ identified by ‘{password}‘;
ALL PRIVILEGES --所有权限
information_schema.SCHEMA_PRIVILEGES --权限表
mysql.user --用户表
flush privileges --更新权限命令