mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-18 17:58:55 +00:00
Implement MasterSlave::get_slaves() to get cxns from a DSN table. Add comments explaining use_repl_db().
This commit is contained in:
12
t/lib/samples/MasterSlave/dsn_table.sql
Normal file
12
t/lib/samples/MasterSlave/dsn_table.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
DROP DATABASE IF EXISTS dsn_t;
|
||||
CREATE DATABASE dsn_t;
|
||||
USE dsn_t;
|
||||
|
||||
CREATE TABLE dsns (
|
||||
id int auto_increment primary key,
|
||||
parent_id int default null,
|
||||
dsn varchar(255) not null
|
||||
);
|
||||
|
||||
INSERT INTO dsns VALUES
|
||||
(null, null, 'h=127.1,P=12346,u=msandbox,p=msandbox');
|
Reference in New Issue
Block a user