Advertisement
Guest User

Untitled

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