Advertisement
rodro1

create mysql user and grant all permission

Mar 15th, 2022
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. // create mysql user and grant previledges to all
  2.  
  3. CREATE USER 'lentho'@'localhost' IDENTIFIED BY 'lentho@433';
  4. CREATE USER 'lentho'@'%' IDENTIFIED BY 'lentho@433';
  5. GRANT ALL PRIVILEGES ON *.* TO 'lentho'@'localhost';
  6. GRANT ALL PRIVILEGES ON *.* TO 'lentho'@'%';
  7.  
  8.  
  9. FLUSH PRIVILEGES;
  10. EXIT;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement