Percona XtraDB Cluster 5.6安装配置步骤(3)

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

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/5d3e055b8dd8fd788eeaf818f145decb.html