mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| log |
| mysql |
| performance_schema |
| test |
+--------------------+
5 rows in set (0.00 sec)
mysql> create database liu;
Query OK, 1 row affected (0.00 sec)
mysql> use liu
Database changed
mysql> create table liu01 (id int,name char(4));
Query OK, 0 rows affected (0.05 sec)
mysql> show tables;
+---------------+
| Tables_in_liu |
+---------------+
| liu01 |
+---------------+
1 row in set (0.01 sec)
添加新的 Node 到Cluster中:
service mysql start