lowercase_table_grant.result

来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· RESULT 代码 · 共 24 行

RESULT
24
字号
use mysql;create database MYSQLtest;grant all on MySQLtest.* to mysqltest_1@localhost;show grants for mysqltest_1@localhost;Grants for mysqltest_1@localhostGRANT USAGE ON *.* TO 'mysqltest_1'@'localhost'GRANT ALL PRIVILEGES ON `mysqltest`.* TO 'mysqltest_1'@'localhost'select * from db where user = 'mysqltest_1';Host	Db	User	Select_priv	Insert_priv	Update_priv	Delete_priv	Create_priv	Drop_priv	Grant_priv	References_priv	Index_priv	Alter_priv	Create_tmp_table_priv	Lock_tables_priv	Create_view_priv	Show_view_priv	Create_routine_priv	Alter_routine_priv	Execute_privlocalhost	mysqltest	mysqltest_1	Y	Y	Y	Y	Y	Y	N	Y	Y	Y	Y	Y	Y	Y	Y	Y	Yupdate db set db = 'MYSQLtest' where db = 'mysqltest' and user = 'mysqltest_1' and host = 'localhost';flush privileges;show grants for mysqltest_1@localhost;Grants for mysqltest_1@localhostGRANT USAGE ON *.* TO 'mysqltest_1'@'localhost'GRANT ALL PRIVILEGES ON `mysqltest`.* TO 'mysqltest_1'@'localhost'select * from db where user = 'mysqltest_1';Host	Db	User	Select_priv	Insert_priv	Update_priv	Delete_priv	Create_priv	Drop_priv	Grant_priv	References_priv	Index_priv	Alter_priv	Create_tmp_table_priv	Lock_tables_priv	Create_view_priv	Show_view_priv	Create_routine_priv	Alter_routine_priv	Execute_privlocalhost	MYSQLtest	mysqltest_1	Y	Y	Y	Y	Y	Y	N	Y	Y	Y	Y	Y	Y	Y	Y	Y	Ydelete from db where db = 'MYSQLtest' and user = 'mysqltest_1' and host = 'localhost';flush privileges;drop user mysqltest_1@localhost;drop database MYSQLtest;

⌨️ 快捷键说明

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