sql, CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';,
`,,2. **授予权限**:,
`sql, GRANT ALL PRIVILEGES ON *.* TO 'newuser'@'localhost';,
`,,3. **刷新权限**:,
`sql, FLUSH PRIVILEGES;,
`,,这样,新用户
newuser` 就被创建并被授予了所有数据库的所有权限。