⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
suite
/
binlog
/
r
/
View File Name :
binlog_noop_dml_with_readonly.result
SET @saved_value_super= @@GLOBAL.SUPER_READ_ONLY; SET @saved_value= @@GLOBAL.read_only; CREATE TABLE t1 (a INT); INSERT INTO t1 VALUES (1); BEGIN; UPDATE t1 SET a = 1 where a =1; SET GLOBAL SUPER_READ_ONLY=1; COMMIT; ERROR HY000: The MySQL server is running with the --super-read-only option so it cannot execute this statement SET GLOBAL SUPER_READ_ONLY=0; CREATE TEMPORARY TABLE t2 (a INT) ENGINE=INNODB; BEGIN; UPDATE t1 SET a = 1 where a = 1; INSERT INTO t2 values(10); SET GLOBAL SUPER_READ_ONLY=1; COMMIT; ERROR HY000: The MySQL server is running with the --super-read-only option so it cannot execute this statement DROP TABLE t2; SET GLOBAL SUPER_READ_ONLY=0; SET GLOBAL READ_ONLY=0; CREATE USER test@localhost; GRANT CREATE TEMPORARY TABLES, UPDATE, DROP ON *.* TO test@localhost; BEGIN; UPDATE t1 SET a = 1 where a =1; SET GLOBAL READ_ONLY=1; COMMIT; ERROR HY000: The MySQL server is running with the --read-only option so it cannot execute this statement SET GLOBAL READ_ONLY=0; CREATE TEMPORARY TABLE t2 (a INT) ENGINE=INNODB; BEGIN; UPDATE t1 SET a = 1 where a = 1; INSERT INTO t2 values(10); SET GLOBAL READ_ONLY=1; COMMIT; ERROR HY000: The MySQL server is running with the --read-only option so it cannot execute this statement DROP TABLE t2; DROP USER test@localhost; SET GLOBAL SUPER_READ_ONLY= @saved_value_super; SET GLOBAL read_only= @saved_value; DROP TABLE t1;