openssl_1.result

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

RESULT
45
字号
drop table if exists t1;create table t1(f1 int);insert into t1 values (5);grant select on test.* to ssl_user1@localhost require SSL;grant select on test.* to ssl_user2@localhost require cipher "DHE-RSA-AES256-SHA";grant select on test.* to ssl_user3@localhost require cipher "DHE-RSA-AES256-SHA" AND SUBJECT "/C=SE/L=Uppsala/O=MySQL AB/CN=MySQL Client/Email=abstract.mysql.developer@mysql.com";grant select on test.* to ssl_user4@localhost require cipher "DHE-RSA-AES256-SHA" AND SUBJECT "/C=SE/L=Uppsala/O=MySQL AB/CN=MySQL Client/Email=abstract.mysql.developer@mysql.com" ISSUER "/C=SE/L=Uppsala/O=MySQL AB/CN=Abstract MySQL Developer/Email=abstract.mysql.developer@mysql.com";flush privileges;SHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	DHE-RSA-AES256-SHAselect * from t1;f15delete from t1;ERROR 42000: DELETE command denied to user 'ssl_user1'@'localhost' for table 't1'SHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	DHE-RSA-AES256-SHAselect * from t1;f15delete from t1;ERROR 42000: DELETE command denied to user 'ssl_user2'@'localhost' for table 't1'SHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	DHE-RSA-AES256-SHAselect * from t1;f15delete from t1;ERROR 42000: DELETE command denied to user 'ssl_user3'@'localhost' for table 't1'SHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	DHE-RSA-AES256-SHAselect * from t1;f15delete from t1;ERROR 42000: DELETE command denied to user 'ssl_user4'@'localhost' for table 't1'delete from mysql.user where user='ssl_user%';delete from mysql.db where user='ssl_user%';flush privileges;drop table t1;

⌨️ 快捷键说明

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