1
2
3
4
5
6
7
8
|
Welcome to the MySQL monitor. Commands end
with
;
or
\g.
Your MySQL connection id is
10
Server version:
5.6.
25
-enterprise-commercial-advanced-log MySQL Enterprise Server - Advanced Edition (Commercial)
Copyright (c)
2000
,
2012
, Oracle
and
/
or
its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation
and
/
or
its
affiliates. Other names may be trademarks of their respective
owners.
Type
'help;'
or
'\h'
for
help. Type
'\c'
to clear the current input statement.
|
1
2
3
4
5
6
7
|
+-----------------------------------------------------------------------------------------------------+
| Grants
for
rose@% |
+-----------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO
'rose'
@
'%'
IDENTIFIED BY PASSWORD
'*86F57026C60B8CE1038EFB3B9383EC573979A7BD'
|
| GRANT ALL PRIVILEGES ON `prod`.* TO
'rose'
@
'%'
|
+-----------------------------------------------------------------------------------------------------+
2
rows
in
set (
0.00
sec)
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
+-------+-----------+
| user | host |
+-------+-----------+
| jerry | % |
| rose | % |
| tom | % |
| tom1 | % |
| tom2 | % |
| root |
127.0.
0.1
|
| root | ::
1
|
| | localhost |
| jerry | localhost |
| root | localhost |
| scott | localhost |
| tom | localhost |
| | mysrv |
| root | mysrv |
+-------+-----------+
14
rows
in
set (
0.00
sec)
|
1
2
3
4
5
6
7
8
9
|
Enter password:
Welcome to the MySQL monitor. Commands end
with
;
or
\g.
Your MySQL connection id is
22
Server version:
5.6.
25
-enterprise-commercial-advanced-log MySQL Enterprise Server - Advanced Edition (Commercial)
Copyright (c)
2000
,
2012
, Oracle
and
/
or
its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation
and
/
or
its
affiliates. Other names may be trademarks of their respective
owners.
Type
'help;'
or
'\h'
for
help. Type
'\c'
to clear the current input statement.
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
+-----------------------------------------------------------------------------------------------------+
| Grants
for
rose@% |
+-----------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO
'rose'
@
'%'
IDENTIFIED BY PASSWORD
'*86F57026C60B8CE1038EFB3B9383EC573979A7BD'
|
| GRANT ALL PRIVILEGES ON `prod`.* TO
'rose'
@
'%'
|
+-----------------------------------------------------------------------------------------------------+
2
rows
in
set (
0.00
sec)
|
1
2
3
4
5
6
7
8
|
Welcome to the MySQL monitor. Commands end
with
;
or
\g.
Your MySQL connection id is
26
Server version:
5.6.
25
-enterprise-commercial-advanced-log MySQL Enterprise Server - Advanced Edition (Commercial)
Copyright (c)
2000
,
2012
, Oracle
and
/
or
its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation
and
/
or
its
affiliates. Other names may be trademarks of their respective
owners.
Type
'help;'
or
'\h'
for
help. Type
'\c'
to clear the current input statement.
|