Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 7.80 KB | None | 0 0
  1. mysql> SELECT * FROM mysql.USER WHERE USER = 'root' \G
  2. *************************** 1. ROW ***************************
  3.                  Host: localhost
  4.                  USER: root
  5.              Password: *49F3852B62382BA03CA54A5F512286B1E169DDE9
  6.           Select_priv: Y
  7.           Insert_priv: Y
  8.           Update_priv: Y
  9.           Delete_priv: Y
  10.           Create_priv: Y
  11.             Drop_priv: Y
  12.           Reload_priv: Y
  13.         Shutdown_priv: Y
  14.          Process_priv: Y
  15.             File_priv: Y
  16.            Grant_priv: Y
  17.       References_priv: Y
  18.            Index_priv: Y
  19.            Alter_priv: Y
  20.          Show_db_priv: Y
  21.            Super_priv: Y
  22. Create_tmp_table_priv: Y
  23.      Lock_tables_priv: Y
  24.          Execute_priv: Y
  25.       Repl_slave_priv: Y
  26.      Repl_client_priv: Y
  27.      Create_view_priv: Y
  28.        Show_view_priv: Y
  29.   Create_routine_priv: Y
  30.    Alter_routine_priv: Y
  31.      Create_user_priv: Y
  32.            Event_priv: Y
  33.          Trigger_priv: Y
  34.              ssl_type:
  35.            ssl_cipher:
  36.           x509_issuer:
  37.          x509_subject:
  38.         max_questions: 0
  39.           max_updates: 0
  40.       max_connections: 0
  41.  max_user_connections: 0
  42. *************************** 2. ROW ***************************
  43.                  Host: selver
  44.                  USER: root
  45.              Password: *49F3852B62382BA03CA54A5F512286B1E169DDE9
  46.           Select_priv: Y
  47.           Insert_priv: Y
  48.           Update_priv: Y
  49.           Delete_priv: Y
  50.           Create_priv: Y
  51.             Drop_priv: Y
  52.           Reload_priv: Y
  53.         Shutdown_priv: Y
  54.          Process_priv: Y
  55.             File_priv: Y
  56.            Grant_priv: Y
  57.       References_priv: Y
  58.            Index_priv: Y
  59.            Alter_priv: Y
  60.          Show_db_priv: Y
  61.            Super_priv: Y
  62. Create_tmp_table_priv: Y
  63.      Lock_tables_priv: Y
  64.          Execute_priv: Y
  65.       Repl_slave_priv: Y
  66.      Repl_client_priv: Y
  67.      Create_view_priv: Y
  68.        Show_view_priv: Y
  69.   Create_routine_priv: Y
  70.    Alter_routine_priv: Y
  71.      Create_user_priv: Y
  72.            Event_priv: Y
  73.          Trigger_priv: Y
  74.              ssl_type:
  75.            ssl_cipher:
  76.           x509_issuer:
  77.          x509_subject:
  78.         max_questions: 0
  79.           max_updates: 0
  80.       max_connections: 0
  81.  max_user_connections: 0
  82. *************************** 3. ROW ***************************
  83.                  Host: 127.0.0.1
  84.                  USER: root
  85.              Password: *49F3852B62382BA03CA54A5F512286B1E169DDE9
  86.           Select_priv: Y
  87.           Insert_priv: Y
  88.           Update_priv: Y
  89.           Delete_priv: Y
  90.           Create_priv: Y
  91.             Drop_priv: Y
  92.           Reload_priv: Y
  93.         Shutdown_priv: Y
  94.          Process_priv: Y
  95.             File_priv: Y
  96.            Grant_priv: Y
  97.       References_priv: Y
  98.            Index_priv: Y
  99.            Alter_priv: Y
  100.          Show_db_priv: Y
  101.            Super_priv: Y
  102. Create_tmp_table_priv: Y
  103.      Lock_tables_priv: Y
  104.          Execute_priv: Y
  105.       Repl_slave_priv: Y
  106.      Repl_client_priv: Y
  107.      Create_view_priv: Y
  108.        Show_view_priv: Y
  109.   Create_routine_priv: Y
  110.    Alter_routine_priv: Y
  111.      Create_user_priv: Y
  112.            Event_priv: Y
  113.          Trigger_priv: Y
  114.              ssl_type:
  115.            ssl_cipher:
  116.           x509_issuer:
  117.          x509_subject:
  118.         max_questions: 0
  119.           max_updates: 0
  120.       max_connections: 0
  121.  max_user_connections: 0
  122. 3 ROWS IN SET (0.00 sec)
  123.  
  124. mysql> SELECT * FROM mysql.USER WHERE USER = 'root';
  125. +-----------+------+-------------------------------------------+-------------+-------------+-------------+-------------+-------------+-----------+-------------+---------------+--------------+-----------+------------+-----------------+------------+------------+--------------+------------+-----------------------+------------------+--------------+-----------------+------------------+------------------+----------------+---------------------+--------------------+------------------+------------+--------------+----------+------------+-------------+--------------+---------------+-------------+-----------------+----------------------+
  126. | Host      | USER | Password                                  | Select_priv | Insert_priv | Update_priv | Delete_priv | Create_priv | Drop_priv | Reload_priv | Shutdown_priv | Process_priv | File_priv | Grant_priv | References_priv | Index_priv | Alter_priv | Show_db_priv | Super_priv | Create_tmp_table_priv | Lock_tables_priv | Execute_priv | Repl_slave_priv | Repl_client_priv | Create_view_priv | Show_view_priv | Create_routine_priv | Alter_routine_priv | Create_user_priv | Event_priv | Trigger_priv | ssl_type | ssl_cipher | x509_issuer | x509_subject | max_questions | max_updates | max_connections | max_user_connections |
  127. +-----------+------+-------------------------------------------+-------------+-------------+-------------+-------------+-------------+-----------+-------------+---------------+--------------+-----------+------------+-----------------+------------+------------+--------------+------------+-----------------------+------------------+--------------+-----------------+------------------+------------------+----------------+---------------------+--------------------+------------------+------------+--------------+----------+------------+-------------+--------------+---------------+-------------+-----------------+----------------------+
  128. | localhost | root | *49F3852B62382BA03CA54A5F512286B1E169DDE9 | Y           | Y           | Y           | Y           | Y           | Y         | Y           | Y             | Y            | Y         | Y          | Y               | Y          | Y          | Y            | Y          | Y                     | Y                | Y            | Y               | Y                | Y                | Y              | Y                   | Y                  | Y                | Y          | Y            |          |            |             |              |             0 |           0 |               0 |                    0 |
  129. | selver    | root | *49F3852B62382BA03CA54A5F512286B1E169DDE9 | Y           | Y           | Y           | Y           | Y           | Y         | Y           | Y             | Y            | Y         | Y          | Y               | Y          | Y          | Y            | Y          | Y                     | Y                | Y            | Y               | Y                | Y                | Y              | Y                   | Y                  | Y                | Y          | Y            |          |            |             |              |             0 |           0 |               0 |                    0 |
  130. | 127.0.0.1 | root | *49F3852B62382BA03CA54A5F512286B1E169DDE9 | Y           | Y           | Y           | Y           | Y           | Y         | Y           | Y             | Y            | Y         | Y          | Y               | Y          | Y          | Y            | Y          | Y                     | Y                | Y            | Y               | Y                | Y                | Y              | Y                   | Y                  | Y                | Y          | Y            |          |            |             |              |             0 |           0 |               0 |                    0 |
  131. +-----------+------+-------------------------------------------+-------------+-------------+-------------+-------------+-------------+-----------+-------------+---------------+--------------+-----------+------------+-----------------+------------+------------+--------------+------------+-----------------------+------------------+--------------+-----------------+------------------+------------------+----------------+---------------------+--------------------+------------------+------------+--------------+----------+------------+-------------+--------------+---------------+-------------+-----------------+----------------------+
  132. 3 ROWS IN SET (0.00 sec)
  133.  
  134. mysql>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement