2005-02-15 05:33:14 +01:00
|
|
|
GRANT ALL ON test.* TO mysqltest_1@'127.0.0.1/255.255.255.255';
|
|
|
|
SHOW GRANTS FOR mysqltest_1@'127.0.0.1/255.255.255.255';
|
|
|
|
Grants for mysqltest_1@127.0.0.1/255.255.255.255
|
|
|
|
GRANT USAGE ON *.* TO 'mysqltest_1'@'127.0.0.1/255.255.255.255'
|
|
|
|
GRANT ALL PRIVILEGES ON `test`.* TO 'mysqltest_1'@'127.0.0.1/255.255.255.255'
|
|
|
|
REVOKE ALL ON test.* FROM mysqltest_1@'127.0.0.1/255.255.255.255';
|
|
|
|
DROP USER mysqltest_1@'127.0.0.1/255.255.255.255';
|
2005-09-22 21:03:53 +02:00
|
|
|
select user();
|
|
|
|
user()
|
|
|
|
#
|
|
|
|
show processlist;
|
|
|
|
Id User Host db Command Time State Info
|
|
|
|
# root # test Sleep # NULL
|
|
|
|
# root # test Query # NULL show processlist
|