Advertisement
Guest User

Untitled

a guest
Jan 25th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. mysql -u root -p
  2. Enter password:
  3. Welcome to the MariaDB monitor. Commands end with ; or \g.
  4. Your MariaDB connection id is 47
  5. Server version: 10.0.28-MariaDB-0ubuntu0.16.04.1 Ubuntu 16.04
  6.  
  7. Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
  8.  
  9. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  10.  
  11. MariaDB [(none)]> use mysql;
  12. Reading table information for completion of table and column names
  13. You can turn off this feature to get a quicker startup with -A
  14.  
  15. Database changed
  16. MariaDB [mysql]> UPDATE mysql.user SET Grant_priv='Y', Super_priv='Y' WHERE User='root';
  17. ERROR 1142 (42000): UPDATE command denied to user 'root'@'localhost' for table 'user'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement