| 1 |
SHOW VARIABLES LIKE 'skip_networking'; |
| 2 |
Variable_name Value |
| 3 |
skip_networking ON |
| 4 |
SET PASSWORD = 'foo'; |
| 5 |
ERROR HY000: The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement |
| 6 |
# Attempting to connect using network. Must fail. |
| 7 |
# Verify that we can operate the system |
| 8 |
CREATE DATABASE db1; |
| 9 |
use db1; |
| 10 |
CREATE TABLE t1(c1 INT); |
| 11 |
INSERT INTO t1 VALUES (1),(2),(3); |
| 12 |
SELECT * FROM t1; |
| 13 |
c1 |
| 14 |
1 |
| 15 |
2 |
| 16 |
3 |
| 17 |
UPDATE t1 SET c1=0; |
| 18 |
DROP TABLE t1; |
| 19 |
use mysql; |
| 20 |
DROP DATABASE db1; |