have_multi_ndb.inc
来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· INC 代码 · 共 29 行
INC
29 行
# Setup connections to both MySQL Servers connected to the clusterconnect (server1,127.0.0.1,root,,test,$MASTER_MYPORT,);connect (server2,127.0.0.1,root,,test,$MASTER_MYPORT1,);# Check that server1 has NDB supportconnection server1;disable_query_log;--disable_warningsdrop table if exists t1, t2;--enable_warningsflush tables;--require r/have_ndb.requireshow variables like "have_ndbcluster";enable_query_log;# Check that server2 has NDB supportconnection server2;disable_query_log;--disable_warningsdrop table if exists t1, t2;--enable_warningsflush tables;--require r/have_ndb.requireshow variables like "have_ndbcluster";enable_query_log;# Set the default connection to 'server1'connection server1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?