| 1 |
"[connection mysqld 1]" |
| 2 |
CREATE USER 'user'@'host'; |
| 3 |
GRANT NDB_STORED_USER ON *.* TO 'user'@'host'; |
| 4 |
CREATE TABLE t1 (k INT PRIMARY KEY, str VARCHAR(255), bin VARBINARY(1024)) ENGINE = NDB; |
| 5 |
SELECT COUNT(*) FROM t1; |
| 6 |
COUNT(*) |
| 7 |
1024 |
| 8 |
4 records in table ndb_sql_metadata |
| 9 |
"[shutting down mysqld 1]" |
| 10 |
"[shutting down mysqld 2]" |
| 11 |
Executing RESTART on all nodes. |
| 12 |
Starting shutdown. This may take a while. Please wait... |
| 13 |
All DB nodes are being restarted. |
| 14 |
|
| 15 |
4 records in table ndb_sql_metadata |
| 16 |
# restart |
| 17 |
# restart |
| 18 |
4 records in table ndb_sql_metadata |
| 19 |
SELECT COUNT(*) FROM t1; |
| 20 |
COUNT(*) |
| 21 |
1024 |
| 22 |
DROP TABLE t1; |
| 23 |
DROP USER 'user'@'host'; |