📄 have_multi_ndb.inc
字号:
# 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -