Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mysql> SELECT USER(),CURRENT_USER();
- | USER() | CURRENT_USER() | apple@localhost | @localhost |1 row in set (0.00 sec)
- mysql> SHOW GRANTS FOR 'apple'@'localhost';
- --------------------
- Connection:
- Name: LOCAL
- Host: localhost (UNIX socket)
- Server: MySQL Community Server (GPL)
- Version: 5.6.16
- Login User: apple
- Current User: @localhost
- Shell> mysql --user=user_name --password=your_password db_name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement