⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 grant.res

📁 开启mysql的远程连接的方法 mysql-noinstall-5.1.6-alpha-win32.zip
💻 RES
📖 第 1 页 / 共 3 页
字号:
grant insert (b), update (b) on grant_test.test to grant_user@localhostselect count(a) from test3select count(skr.a) from test as skr3select count(a) from test where a > 52insert into test (b) values (5)insert into test (b) values (a)update test set b=3 where a > 0select * from testError in execute: select command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test'select b from testError in execute: SELECT command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test'select a from test where b > 0Error in execute: SELECT command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test'insert into test (a) values (10)Error in execute: INSERT command denied to user: 'grant_user'@'localhost' for column 'a' in table 'test'insert into test (b) values (b)Error in execute: SELECT command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test'insert into test (a,b) values (1,5)Error in execute: INSERT command denied to user: 'grant_user'@'localhost' for column 'a' in table 'test'insert into test (b) values (1),(b)Error in execute: SELECT command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test'update test set b=3 where b > 0Error in execute: SELECT command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test'select Host, Db, User, Table_name, Grantor, Table_priv, Column_priv from mysql.tables_privlocalhost	grant_test	grant_user	test	root@localhost		Select,Insert,Updateselect Host, Db, User, Table_name, Column_name, Column_priv from mysql.columns_privlocalhost	grant_test	grant_user	test	b	Insert,Updatelocalhost	grant_test	grant_user	test	a	Selectrevoke select(a), update (b) on grant_test.test from grant_user@localhostselect Host, Db, User, Table_name, Grantor, Table_priv, Column_priv from mysql.tables_privlocalhost	grant_test	grant_user	test	root@localhost		Insertselect Host, Db, User, Table_name, Column_name, Column_priv from mysql.columns_privlocalhost	grant_test	grant_user	test	b	Insertselect count(a) from testError in execute: select command denied to user: 'grant_user'@'localhost' for table 'test'update test set b=4Error in execute: update command denied to user: 'grant_user'@'localhost' for table 'test'grant select(a,b), update (a,b) on grant_test.test to grant_user@localhostselect count(a),count(b) from test where a+b > 03	3insert into test (b) values (9)update test set b=6 where b > 0flush privilegesselect Host, Db, User, Table_name, Grantor, Table_priv, Column_priv from mysql.tables_privlocalhost	grant_test	grant_user	test	root@localhost		Select,Insert,Updateselect Host, Db, User, Table_name, Column_name, Column_priv from mysql.columns_privlocalhost	grant_test	grant_user	test	b	Select,Insert,Updatelocalhost	grant_test	grant_user	test	a	Select,Updateinsert into test (a,b) values (12,12)Error in execute: INSERT command denied to user: 'grant_user'@'localhost' for column 'a' in table 'test'grant insert on grant_test.* to grant_user@localhostConnecting grant_userinsert into test (a,b) values (13,13)revoke select(b) on grant_test.test from grant_user@localhostselect count(a) from test where a+b > 0Error in execute: SELECT command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test'update test set b=5 where a=2grant select on grant_test.test to grant_user@localhostConnecting grant_userselect count(a) from test where a+b > 04revoke select(b) on grant_test.test from grant_user@localhostselect count(a) from test where a+b > 04revoke select on grant_test.test from grant_user@localhostConnecting grant_userselect count(a) from test where a+b > 0Error in execute: select command denied to user: 'grant_user'@'localhost' for table 'test'grant select(a) on grant_test.test to grant_user@localhostselect count(a) from test where a+b > 0Error in execute: SELECT command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test'grant select on *.* to grant_user@localhostConnecting grant_userselect count(a) from test where a+b > 04revoke select on *.* from grant_user@localhostgrant select(b) on grant_test.test to grant_user@localhostConnecting grant_userselect count(a) from test where a+b > 04select * from mysql.db where user = 'grant_user'localhost	grant_test	grant_user	N	Y	N	N	N	N	N	N	N	N	N	Nselect Host, Db, User, Table_name, Grantor, Table_priv, Column_priv from mysql.tables_priv where user = 'grant_user'localhost	grant_test	grant_user	test	root@localhost		Select,Insert,Updateselect Host, Db, User, Table_name, Column_name, Column_priv from mysql.columns_priv where user = 'grant_user'localhost	grant_test	grant_user	test	b	Select,Insert,Updatelocalhost	grant_test	grant_user	test	a	Select,Updaterevoke ALL PRIVILEGES on grant_test.test from grant_user@localhostselect count(a) from testError in execute: select command denied to user: 'grant_user'@'localhost' for table 'test'select * from mysql.user order by hostnameError in execute: select command denied to user: 'grant_user'@'localhost' for table 'user'select * from mysql.db where user = 'grant_user'localhost	grant_test	grant_user	N	Y	N	N	N	N	N	N	N	N	N	Nselect Host, Db, User, Table_name, Grantor, Table_priv, Column_priv from mysql.tables_priv where user = 'grant_user'select Host, Db, User, Table_name, Column_name, Column_priv from mysql.columns_priv where user = 'grant_user'delete from user where user='grant_user'delete from db where user='grant_user'flush privilegesshow grants for grant_user@localhostError in execute: There is no such grant defined for user 'grant_user' on host 'localhost'grant ALL PRIVILEGES on grant_test.test to grant_user@localhost identified by 'dummy',  grant_user@127.0.0.1 identified by 'dummy2'Connecting grant_usergrant SELECT on grant_test.* to grant_user@localhost identified by ''Connecting grant_userrevoke ALL PRIVILEGES on grant_test.test from grant_user@localhost identified by '', grant_user@127.0.0.1 identified by 'dummy2'revoke ALL PRIVILEGES on grant_test.* from grant_user@localhost identified by ''show grants for grant_user@localhostGRANT USAGE ON *.* TO 'grant_user'@'localhost'create table grant_test.test3 (a int, b int)grant SELECT on grant_test.test3 to grant_user@localhostgrant FILE on *.* to grant_user@localhostinsert into grant_test.test3 values (1,1)Connecting grant_userselect * into outfile '/tmp/mysql-grant.test' from grant_test.test3revoke SELECT on grant_test.test3 from grant_user@localhostgrant SELECT(a) on grant_test.test3 to grant_user@localhostselect a from grant_test.test31select * from grant_test.test3Error in execute: select command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test3'select a,b from grant_test.test3Error in execute: SELECT command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test3'select b from grant_test.test3Error in execute: SELECT command denied to user: 'grant_user'@'localhost' for column 'b' in table 'test3'revoke SELECT(a) on grant_test.test3 from grant_user@localhostrevoke FILE on *.* from grant_user@localhostdrop table grant_test.test3create table grant_test.test3 (a int)Connecting grant_userError on connect: Access denied for user: 'grant_user'@'localhost' to database 'grant_test'grant INSERT on grant_test.test3 to grant_user@localhostConnecting grant_userselect * into outfile '/tmp/mysql-grant.test' from grant_test.test3Error in execute: Access denied for user: 'grant_user'@'localhost' (Using password: NO)grant SELECT on grant_test.test3 to grant_user@localhostConnecting grant_userLOCK TABLES grant_test.test3 READError in execute: Access denied for user: 'grant_user'@'localhost' to database 'grant_test'grant LOCK TABLES on *.* to grant_user@localhostshow grants for grant_user@localhostGRANT LOCK TABLES ON *.* TO 'grant_user'@'localhost'GRANT SELECT, INSERT ON `grant_test`.`test3` TO 'grant_user'@'localhost'select * from mysql.user where user='grant_user'127.0.0.1	grant_user	*042a99b3d247ae587783f647f2d69496d390aa71eab3	N	N	N	N	N	N	N	N	N	N	N	N	N	N	N	N	N	N	N	N	N					0	0	0localhost	grant_user		N	N	N	N	N	N	N	N	N	N	N	N	N	N	N	N	N	Y	N	N	N					0	0	0Connecting grant_userLOCK TABLES grant_test.test3 READUNLOCK TABLESrevoke SELECT,INSERT,UPDATE,DELETE on grant_test.test3 from grant_user@localhostConnecting grant_userrevoke LOCK TABLES on *.* from grant_user@localhostConnecting grant_userError on connect: Access denied for user: 'grant_user'@'localhost' to database 'grant_test'drop table grant_test.test3show grants for grant_user@localhostGRANT USAGE ON *.* TO 'grant_user'@'localhost'grant all on *.* to grant_user@localhost WITH MAX_QUERIES_PER_HOUR 1 MAX_UPDATES_PER_HOUR 2 MAX_CONNECTIONS_PER_HOUR 3show grants for grant_user@localhostGRANT ALL PRIVILEGES ON *.* TO 'grant_user'@'localhost' WITH MAX_QUERIES_PER_HOUR 1 MAX_UPDATES_PER_HOUR 2 MAX_CONNECTIONS_PER_HOUR 3revoke LOCK TABLES on *.* from grant_user@localhostflush privilegesshow grants for grant_user@localhostGRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, SHUTDOWN, PROCESS, FILE, REFERENCES, INDEX, ALTER, SHOW DATABASES, SUPER, CREATE TEMPORARY TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'grant_user'@'localhost' WITH MAX_QUERIES_PER_HOUR 1 MAX_UPDATES_PER_HOUR 2 MAX_CONNECTIONS_PER_HOUR 3revoke ALL PRIVILEGES on *.* from grant_user@localhostshow grants for grant_user@localhostGRANT USAGE ON *.* TO 'grant_user'@'localhost' WITH MAX_QUERIES_PER_HOUR 1 MAX_UPDATES_PER_HOUR 2 MAX_CONNECTIONS_PER_HOUR 3drop database grant_testdelete from user where user='grant_user'delete from db where user='grant_user'delete from tables_privdelete from columns_privflush privilegesend of test

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -