授予用户在特定数据库所有表上的SELECT权限:
GRANT SELECT ON database_name.* TO 'kingbal'@'192.168.1.1';
授予用户在特定数据库的特定表上的SELECT和INSERT权限:
GRANT SELECT, INSERT ON database_name.table_name TO 'kingbal'@'192.168.1.1';
授予用户在所有数据库上的所有权限:
GRANT ALL ON *.* TO 'kingbal'@'192.168.1.1';
授予用户管理员权限(超级用户):
GRANT ALL PRIVILEGES ON *.* TO 'kingbal'@'192.168.1.1' WITH GRANT OPTION;