| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/mysql-test/r/ |
Upload File : |
# # Bug#58669: read_only not enforced on 5.5.x # CREATE USER user1@localhost; CREATE DATABASE db1; GRANT ALL PRIVILEGES ON db1.* TO user1@localhost; CREATE TABLE db1.t1(a INT); SELECT CURRENT_USER(); CURRENT_USER() user1@localhost SHOW VARIABLES LIKE "read_only%"; Variable_name Value read_only ON INSERT INTO db1.t1 VALUES (1); ERROR HY000: The MySQL server is running with the --read-only option so it cannot execute this statement DROP DATABASE db1; DROP USER user1@localhost;