Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'somepassword';
  2.  
  3. ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
  4.  
  5. GRANT ALL PRIVILEGES ON dbname.* TO 'username'@'localhost' IDENTIFIED BY 'somepassword';
  6.  
  7. SHOW GRANTS FOR username;
  8.  
  9. Access denied for user 'root'@'localhost' (using password: YES)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement