Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /usr/bin/perl 5.008008
- # Linux ops.int.pason.com 2.6.18-53.1.21.el5 #1 SMP Tue May 20 09:34:18 EDT 2008 i686 athlon i386 GNU/Linux
- # /usr/bin/mk-table-sync Ver 1.0.31 Distrib 7284 Changeset 7279 line 886
- # Arguments: _[--recursion-method=hosts]_ _[--execute]_ _[--replicate=administration.checksum]_ _[--sync-to-master]_ _[ops-colossus]_ _[--databases=ops]_ _[--tables=call]_ _[--user=kyle]_ _[--password=XXXXXXXXXXXXXXX]_ _[--dry-run]_ _[--print]_
- # OptionParser:204 25375 Option rule: Specify at least one of --print, --execute, or --dry-run.
- # OptionParser:204 25375 Option rule: --where and --replicate are mutually exclusive.
- # OptionParser:204 25375 Option rule: This tool accepts additional command-line arguments. Refer to the SYNOPSIS and usage information for details.
- # OptionParser:213 25375 =item --algorithms
- # OptionParser:240 25375 Short help: Algorithm to use when comparing the tables, in order of preference
- # OptionParser:213 25375 =item --ask-pass
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Prompt for a password when connecting to MySQL
- # OptionParser:213 25375 =item --bidirectional
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Enable bidirectional sync between first and subsequent hosts
- # OptionParser:213 25375 =item --[no]bin-log
- # OptionParser:240 25375 Short help: Log to the binary log (SET SQL_LOG_BIN=1)
- # OptionParser:213 25375 =item --buffer-in-mysql
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Instruct MySQL to buffer queries in its memory
- # OptionParser:213 25375 =item --[no]buffer-to-client
- # OptionParser:240 25375 Short help: Fetch rows one-by-one from MySQL while comparing
- # OptionParser:213 25375 =item --charset
- # OptionParser:240 25375 Short help: Default character set
- # OptionParser:213 25375 =item --[no]check-master
- # OptionParser:240 25375 Short help: With --sync-to-master, try to verify that the detected master is the real master
- # OptionParser:213 25375 =item --[no]check-privileges
- # OptionParser:240 25375 Short help: Check that user has all necessary privileges on source and destination table
- # OptionParser:213 25375 =item --[no]check-slave
- # OptionParser:240 25375 Short help: Check whether the destination server is a slave
- # OptionParser:213 25375 =item --[no]check-triggers
- # OptionParser:240 25375 Short help: Check that no triggers are defined on the destination table
- # OptionParser:213 25375 =item --chunk-column
- # OptionParser:240 25375 Short help: Chunk the table on this column
- # OptionParser:213 25375 =item --chunk-index
- # OptionParser:240 25375 Short help: Chunk the table using this index
- # OptionParser:213 25375 =item --chunk-size
- # OptionParser:240 25375 Short help: Number of rows or data size per chunk
- # OptionParser:213 25375 =item --columns
- # OptionParser:240 25375 Short help: Compare this comma-separated list of columns
- # OptionParser:213 25375 =item --config
- # OptionParser:240 25375 Short help: Read this comma-separated list of config files; if specified, this must be the first option on the command line
- # OptionParser:213 25375 =item --conflict-column
- # OptionParser:240 25375 Short help: Compare this column when rows conflict during a --bidirectional sync
- # OptionParser:213 25375 =item --conflict-comparison
- # OptionParser:240 25375 Short help: Choose the --conflict-column with this property as the source
- # OptionParser:213 25375 =item --conflict-error
- # OptionParser:240 25375 Short help: How to report unresolvable conflicts and conflict errors
- # OptionParser:213 25375 =item --conflict-threshold
- # OptionParser:240 25375 Short help: Amount by which one --conflict-column must exceed the other
- # OptionParser:213 25375 =item --conflict-value
- # OptionParser:240 25375 Short help: Use this value for certain --conflict-comparison
- # OptionParser:213 25375 =item --databases
- # OptionParser:240 25375 Short help: Sync only this comma-separated list of databases
- # OptionParser:213 25375 =item --defaults-file
- # OptionParser:240 25375 Short help: Only read mysql options from the given file
- # OptionParser:213 25375 =item --dry-run
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Analyze, decide the sync algorithm to use, print and exit
- # OptionParser:213 25375 =item --engines
- # OptionParser:240 25375 Short help: Sync only this comma-separated list of storage engines
- # OptionParser:213 25375 =item --execute
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Execute queries to make the tables have identical data
- # OptionParser:213 25375 =item --explain-hosts
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Print connection information and exit
- # OptionParser:213 25375 =item --float-precision
- # OptionParser:240 25375 Short help: Precision for FLOAT and DOUBLE number-to-string conversion
- # OptionParser:213 25375 =item --[no]foreign-key-checks
- # OptionParser:240 25375 Short help: Enable foreign key checks (SET FOREIGN_KEY_CHECKS=1)
- # OptionParser:213 25375 =item --function
- # OptionParser:240 25375 Short help: Which hash function you'd like to use for checksums
- # OptionParser:213 25375 =item --help
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Show help and exit
- # OptionParser:213 25375 =item --[no]hex-blob
- # OptionParser:240 25375 Short help: HEX() BLOB, TEXT and BINARY columns
- # OptionParser:213 25375 =item --host
- # OptionParser:240 25375 Short help: Connect to host
- # OptionParser:213 25375 =item --ignore-columns
- # OptionParser:240 25375 Short help: Ignore this comma-separated list of column names in comparisons
- # OptionParser:213 25375 =item --ignore-databases
- # OptionParser:240 25375 Short help: Ignore this comma-separated list of databases
- # OptionParser:213 25375 =item --ignore-engines
- # OptionParser:240 25375 Short help: Ignore this comma-separated list of storage engines
- # OptionParser:213 25375 =item --ignore-tables
- # OptionParser:240 25375 Short help: Ignore this comma-separated list of tables
- # OptionParser:213 25375 =item --[no]index-hint
- # OptionParser:240 25375 Short help: Add FORCE/USE INDEX hints to the chunk and row queries
- # OptionParser:213 25375 =item --lock
- # OptionParser:240 25375 Short help: Lock tables: 0=none, 1=per sync cycle, 2=per table, or 3=globally
- # OptionParser:213 25375 =item --lock-and-rename
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Lock the source and destination table, sync, then swap names
- # OptionParser:213 25375 =item --password
- # OptionParser:240 25375 Short help: Password to use when connecting
- # OptionParser:213 25375 =item --pid
- # OptionParser:240 25375 Short help: Create the given PID file
- # OptionParser:213 25375 =item --port
- # OptionParser:240 25375 Short help: Port number to use for connection
- # OptionParser:213 25375 =item --print
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Print queries that will resolve differences
- # OptionParser:213 25375 =item --recursion-method
- # OptionParser:240 25375 Short help: Preferred recursion method used to find slaves
- # OptionParser:213 25375 =item --replace
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Write all INSERT and UPDATE statements as REPLACE
- # OptionParser:213 25375 =item --replicate
- # OptionParser:240 25375 Short help: Sync tables listed as different in this table
- # OptionParser:213 25375 =item --set-vars
- # OptionParser:240 25375 Short help: Set these MySQL variables
- # OptionParser:213 25375 =item --socket
- # OptionParser:240 25375 Short help: Socket file to use for connection
- # OptionParser:213 25375 =item --sync-to-master
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Treat the DSN as a slave and sync it to its master
- # OptionParser:213 25375 =item --tables
- # OptionParser:240 25375 Short help: Sync only this comma-separated list of tables
- # OptionParser:213 25375 =item --timeout-ok
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Keep going if --wait fails
- # OptionParser:213 25375 =item --[no]transaction
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Use transactions instead of LOCK TABLES
- # OptionParser:213 25375 =item --trim
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: TRIM() VARCHAR columns in BIT_XOR and ACCUM modes
- # OptionParser:213 25375 =item --[no]unique-checks
- # OptionParser:240 25375 Short help: Enable unique key checks (SET UNIQUE_CHECKS=1)
- # OptionParser:213 25375 =item --user
- # OptionParser:240 25375 Short help: User for login if not current user
- # OptionParser:213 25375 =item --verbose
- # OptionParser:240 25375 Short help: Print results of sync operations
- # OptionParser:213 25375 =item --version
- # OptionParser:232 25375 Option has no attributes
- # OptionParser:240 25375 Short help: Show version and exit
- # OptionParser:213 25375 =item --wait
- # OptionParser:240 25375 Short help: How long to wait for slaves to catch up to their master
- # OptionParser:213 25375 =item --where
- # OptionParser:240 25375 Short help: WHERE clause to restrict syncing to part of the table
- # OptionParser:213 25375 =item --[no]zero-chunk
- # OptionParser:240 25375 Short help: Add a chunk for rows with zero or zero-equivalent values
- # OptionParser:279 25375 Parsing opt spec: group => default spec => algorithms=s desc => Algorithm to use when comparing the tables, in order of preference (default Chunk,Nibble,GroupBy,Stream)
- # OptionParser:317 25375 algorithms type: s
- # OptionParser:324 25375 algorithms default: Chunk,Nibble,GroupBy,Stream
- # OptionParser:279 25375 Parsing opt spec: group => default spec => ask-pass desc => Prompt for a password when connecting to MySQL
- # OptionParser:317 25375 ask-pass type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => bidirectional desc => Enable bidirectional sync between first and subsequent hosts
- # OptionParser:317 25375 bidirectional type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => bin-log! desc => Log to the binary log (SET SQL_LOG_BIN=1) (default yes)
- # OptionParser:317 25375 bin-log type: undef
- # OptionParser:324 25375 bin-log default: yes
- # OptionParser:279 25375 Parsing opt spec: group => default spec => buffer-in-mysql desc => Instruct MySQL to buffer queries in its memory
- # OptionParser:317 25375 buffer-in-mysql type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => buffer-to-client! desc => Fetch rows one-by-one from MySQL while comparing (default yes)
- # OptionParser:317 25375 buffer-to-client type: undef
- # OptionParser:324 25375 buffer-to-client default: yes
- # OptionParser:279 25375 Parsing opt spec: group => default spec => charset|A=s desc => Default character set
- # OptionParser:317 25375 charset type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => check-master! desc => With --sync-to-master, try to verify that the detected master is the real master (default yes)
- # OptionParser:317 25375 check-master type: undef
- # OptionParser:324 25375 check-master default: yes
- # OptionParser:279 25375 Parsing opt spec: group => default spec => check-privileges! desc => Check that user has all necessary privileges on source and destination table (default yes)
- # OptionParser:317 25375 check-privileges type: undef
- # OptionParser:324 25375 check-privileges default: yes
- # OptionParser:279 25375 Parsing opt spec: group => default spec => check-slave! desc => Check whether the destination server is a slave (default yes)
- # OptionParser:317 25375 check-slave type: undef
- # OptionParser:324 25375 check-slave default: yes
- # OptionParser:279 25375 Parsing opt spec: group => default spec => check-triggers! desc => Check that no triggers are defined on the destination table (default yes)
- # OptionParser:317 25375 check-triggers type: undef
- # OptionParser:324 25375 check-triggers default: yes
- # OptionParser:279 25375 Parsing opt spec: group => default spec => chunk-column=s desc => Chunk the table on this column
- # OptionParser:317 25375 chunk-column type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => chunk-index=s desc => Chunk the table using this index
- # OptionParser:317 25375 chunk-index type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => chunk-size=s desc => Number of rows or data size per chunk (default 1000)
- # OptionParser:317 25375 chunk-size type: s
- # OptionParser:324 25375 chunk-size default: 1000
- # OptionParser:279 25375 Parsing opt spec: group => default spec => columns|c=a desc => Compare this comma-separated list of columns
- # OptionParser:317 25375 columns type: a
- # OptionParser:279 25375 Parsing opt spec: group => default spec => config=A desc => Read this comma-separated list of config files; if specified, this must be the first option on the command line
- # OptionParser:317 25375 config type: A
- # OptionParser:279 25375 Parsing opt spec: group => default spec => conflict-column=s desc => Compare this column when rows conflict during a --bidirectional sync
- # OptionParser:317 25375 conflict-column type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => conflict-comparison=s desc => Choose the --conflict-column with this property as the source
- # OptionParser:317 25375 conflict-comparison type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => conflict-error=s desc => How to report unresolvable conflicts and conflict errors (default warn)
- # OptionParser:317 25375 conflict-error type: s
- # OptionParser:324 25375 conflict-error default: warn
- # OptionParser:279 25375 Parsing opt spec: group => default spec => conflict-threshold=s desc => Amount by which one --conflict-column must exceed the other
- # OptionParser:317 25375 conflict-threshold type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => conflict-value=s desc => Use this value for certain --conflict-comparison
- # OptionParser:317 25375 conflict-value type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => databases|d=h desc => Sync only this comma-separated list of databases
- # OptionParser:317 25375 databases type: h
- # OptionParser:279 25375 Parsing opt spec: group => default spec => defaults-file|F=s desc => Only read mysql options from the given file
- # OptionParser:317 25375 defaults-file type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => dry-run desc => Analyze, decide the sync algorithm to use, print and exit
- # OptionParser:317 25375 dry-run type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => engines|e=h desc => Sync only this comma-separated list of storage engines
- # OptionParser:317 25375 engines type: h
- # OptionParser:279 25375 Parsing opt spec: group => default spec => execute desc => Execute queries to make the tables have identical data
- # OptionParser:317 25375 execute type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => explain-hosts desc => Print connection information and exit
- # OptionParser:317 25375 explain-hosts type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => float-precision=i desc => Precision for FLOAT and DOUBLE number-to-string conversion
- # OptionParser:317 25375 float-precision type: i
- # OptionParser:279 25375 Parsing opt spec: group => default spec => foreign-key-checks! desc => Enable foreign key checks (SET FOREIGN_KEY_CHECKS=1) (default yes)
- # OptionParser:317 25375 foreign-key-checks type: undef
- # OptionParser:324 25375 foreign-key-checks default: yes
- # OptionParser:279 25375 Parsing opt spec: group => default spec => function=s desc => Which hash function you'd like to use for checksums
- # OptionParser:317 25375 function type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => help desc => Show help and exit
- # OptionParser:317 25375 help type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => hex-blob! desc => HEX() BLOB, TEXT and BINARY columns (default yes)
- # OptionParser:317 25375 hex-blob type: undef
- # OptionParser:324 25375 hex-blob default: yes
- # OptionParser:279 25375 Parsing opt spec: group => default spec => host|h=s desc => Connect to host
- # OptionParser:317 25375 host type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => ignore-columns=H desc => Ignore this comma-separated list of column names in comparisons
- # OptionParser:317 25375 ignore-columns type: H
- # OptionParser:279 25375 Parsing opt spec: group => default spec => ignore-databases=H desc => Ignore this comma-separated list of databases
- # OptionParser:317 25375 ignore-databases type: H
- # OptionParser:279 25375 Parsing opt spec: group => default spec => ignore-engines=H desc => Ignore this comma-separated list of storage engines (default FEDERATED,MRG_MyISAM)
- # OptionParser:317 25375 ignore-engines type: H
- # OptionParser:324 25375 ignore-engines default: FEDERATED,MRG_MyISAM
- # OptionParser:279 25375 Parsing opt spec: group => default spec => ignore-tables=H desc => Ignore this comma-separated list of tables
- # OptionParser:317 25375 ignore-tables type: H
- # OptionParser:279 25375 Parsing opt spec: group => default spec => index-hint! desc => Add FORCE/USE INDEX hints to the chunk and row queries (default yes)
- # OptionParser:317 25375 index-hint type: undef
- # OptionParser:324 25375 index-hint default: yes
- # OptionParser:279 25375 Parsing opt spec: group => default spec => lock=i desc => Lock tables: 0=none, 1=per sync cycle, 2=per table, or 3=globally
- # OptionParser:317 25375 lock type: i
- # OptionParser:279 25375 Parsing opt spec: group => default spec => lock-and-rename desc => Lock the source and destination table, sync, then swap names
- # OptionParser:317 25375 lock-and-rename type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => password|p=s desc => Password to use when connecting
- # OptionParser:317 25375 password type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => pid=s desc => Create the given PID file
- # OptionParser:317 25375 pid type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => port|P=i desc => Port number to use for connection
- # OptionParser:317 25375 port type: i
- # OptionParser:279 25375 Parsing opt spec: group => default spec => print desc => Print queries that will resolve differences
- # OptionParser:317 25375 print type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => recursion-method=s desc => Preferred recursion method used to find slaves
- # OptionParser:317 25375 recursion-method type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => replace desc => Write all INSERT and UPDATE statements as REPLACE
- # OptionParser:317 25375 replace type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => replicate=s desc => Sync tables listed as different in this table
- # OptionParser:317 25375 replicate type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => set-vars=s desc => Set these MySQL variables (default wait_timeout=10000)
- # OptionParser:317 25375 set-vars type: s
- # OptionParser:324 25375 set-vars default: wait_timeout=10000
- # OptionParser:279 25375 Parsing opt spec: group => default spec => socket|S=s desc => Socket file to use for connection
- # OptionParser:317 25375 socket type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => sync-to-master desc => Treat the DSN as a slave and sync it to its master
- # OptionParser:317 25375 sync-to-master type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => tables|t=h desc => Sync only this comma-separated list of tables
- # OptionParser:317 25375 tables type: h
- # OptionParser:279 25375 Parsing opt spec: group => default spec => timeout-ok desc => Keep going if --wait fails
- # OptionParser:317 25375 timeout-ok type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => transaction! desc => Use transactions instead of LOCK TABLES
- # OptionParser:317 25375 transaction type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => trim desc => TRIM() VARCHAR columns in BIT_XOR and ACCUM modes
- # OptionParser:317 25375 trim type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => unique-checks! desc => Enable unique key checks (SET UNIQUE_CHECKS=1) (default yes)
- # OptionParser:317 25375 unique-checks type: undef
- # OptionParser:324 25375 unique-checks default: yes
- # OptionParser:279 25375 Parsing opt spec: group => default spec => user|u=s desc => User for login if not current user
- # OptionParser:317 25375 user type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => verbose|v+ desc => Print results of sync operations
- # OptionParser:317 25375 verbose type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => version desc => Show version and exit
- # OptionParser:317 25375 version type: undef
- # OptionParser:279 25375 Parsing opt spec: group => default spec => wait|w=m desc => How long to wait for slaves to catch up to their master
- # OptionParser:317 25375 wait type: m
- # OptionParser:279 25375 Parsing opt spec: group => default spec => where=s desc => WHERE clause to restrict syncing to part of the table
- # OptionParser:317 25375 where type: s
- # OptionParser:279 25375 Parsing opt spec: group => default spec => zero-chunk! desc => Add a chunk for rows with zero or zero-equivalent values (default yes)
- # OptionParser:317 25375 zero-chunk type: undef
- # OptionParser:324 25375 zero-chunk default: yes
- # OptionParser:339 25375 Parsing rule: Specify at least one of --print, --execute, or --dry-run.
- # OptionParser:395 25375 Participants for Specify at least one of --print, --execute, or --dry-run. : print execute dry-run
- # OptionParser:352 25375 print execute dry-run require at least one
- # OptionParser:339 25375 Parsing rule: --where and --replicate are mutually exclusive.
- # OptionParser:395 25375 Participants for --where and --replicate are mutually exclusive. : where replicate
- # OptionParser:347 25375 where replicate are mutually exclusive
- # OptionParser:339 25375 Parsing rule: This tool accepts additional command-line arguments. Refer to the SYNOPSIS and usage information for details.
- # OptionParser:395 25375 Participants for This tool accepts additional command-line arguments. Refer to the SYNOPSIS and usage information for details. :
- # OptionParser:371 25375 Strict mode disabled by rule
- # OptionParser:128 25375 Parsing DSN OPTIONS
- # OptionParser:213 25375 =item * A
- # OptionParser:240 25375 Short help: Default character set
- # OptionParser:213 25375 =item * D
- # OptionParser:240 25375 Short help: Database containing the table to be synced
- # OptionParser:213 25375 =item * F
- # OptionParser:240 25375 Short help: Only read default options from the given file
- # OptionParser:213 25375 =item * h
- # OptionParser:240 25375 Short help: Connect to host
- # OptionParser:213 25375 =item * p
- # OptionParser:240 25375 Short help: Password to use when connecting
- # OptionParser:213 25375 =item * P
- # OptionParser:240 25375 Short help: Port number to use for connection
- # OptionParser:213 25375 =item * S
- # OptionParser:240 25375 Short help: Socket file to use for connection
- # OptionParser:213 25375 =item * t
- # OptionParser:240 25375 Short help: Table to be synced
- # OptionParser:213 25375 =item * u
- # OptionParser:240 25375 Short help: User for login if not current user
- # DSNParser:1169 25375 DSN option: copy=1, dsn=charset, desc=Default character set, key=A
- # DSNParser:1169 25375 DSN option: copy=1, dsn=database, desc=Database containing the table to be synced, key=D
- # DSNParser:1169 25375 DSN option: copy=1, dsn=mysql_read_default_file, desc=Only read default options from the given file, key=F
- # DSNParser:1169 25375 DSN option: copy=1, dsn=host, desc=Connect to host, key=h
- # DSNParser:1169 25375 DSN option: copy=1, dsn=password, desc=Password to use when connecting, key=p
- # DSNParser:1169 25375 DSN option: copy=1, dsn=port, desc=Port number to use for connection, key=P
- # DSNParser:1169 25375 DSN option: copy=1, dsn=mysql_socket, desc=Socket file to use for connection, key=S
- # DSNParser:1169 25375 DSN option: copy=1, dsn=undef, desc=Table to be synced, key=t
- # DSNParser:1169 25375 DSN option: copy=1, dsn=user, desc=User for login if not current user, key=u
- # OptionParser:479 25375 Cannot open /etc/maatkit/maatkit.conf: No such file or directory
- #
- # OptionParser:479 25375 Cannot open /etc/maatkit/mk-table-sync.conf: No such file or directory
- #
- # OptionParser:479 25375 Cannot open /home/kbrost/.maatkit.conf: No such file or directory
- #
- # OptionParser:479 25375 Cannot open /home/kbrost/.mk-table-sync.conf: No such file or directory
- #
- # OptionParser:447 25375 Got option recursion-method = hosts
- # OptionParser:447 25375 Got option execute = 1
- # OptionParser:447 25375 Got option replicate = administration.checksum
- # OptionParser:447 25375 Got option sync-to-master = 1
- # OptionParser:447 25375 Got option databases = ops
- # OptionParser:447 25375 Got option tables = call
- # OptionParser:447 25375 Got option user = kyle
- # OptionParser:447 25375 Got option password = XXXXXXXXXXXX
- # OptionParser:447 25375 Got option dry-run = 1
- # OptionParser:447 25375 Got option print = 1
- # OptionParser:664 25375 Nothing to validate for option chunk-size type s value 1000
- # OptionParser:664 25375 Nothing to validate for option recursion-method type s value hosts
- # OptionParser:664 25375 Nothing to validate for option lock type i value undef
- # OptionParser:664 25375 Nothing to validate for option conflict-value type s value undef
- # OptionParser:664 25375 Nothing to validate for option conflict-error type s value warn
- # OptionParser:664 25375 Nothing to validate for option chunk-index type s value undef
- # OptionParser:664 25375 Nothing to validate for option password type s value XXXXXXXXXXXXXXXXX
- # OptionParser:664 25375 Nothing to validate for option pid type s value undef
- # OptionParser:664 25375 Nothing to validate for option replicate type s value administration.checksum
- # OptionParser:664 25375 Nothing to validate for option float-precision type i value undef
- # OptionParser:664 25375 Nothing to validate for option user type s value kyle
- # OptionParser:664 25375 Nothing to validate for option conflict-column type s value undef
- # OptionParser:664 25375 Nothing to validate for option conflict-threshold type s value undef
- # OptionParser:664 25375 Nothing to validate for option charset type s value undef
- # OptionParser:664 25375 Nothing to validate for option set-vars type s value wait_timeout=10000
- # OptionParser:664 25375 Nothing to validate for option port type i value undef
- # OptionParser:664 25375 Nothing to validate for option socket type s value undef
- # OptionParser:664 25375 Nothing to validate for option columns type a value undef
- # OptionParser:664 25375 Nothing to validate for option engines type h value undef
- # OptionParser:664 25375 Nothing to validate for option algorithms type s value Chunk,Nibble,GroupBy,Stream
- # OptionParser:664 25375 Nothing to validate for option function type s value undef
- # OptionParser:664 25375 Nothing to validate for option chunk-column type s value undef
- # OptionParser:664 25375 Nothing to validate for option where type s value undef
- # OptionParser:664 25375 Nothing to validate for option host type s value undef
- # OptionParser:664 25375 Nothing to validate for option defaults-file type s value undef
- # OptionParser:664 25375 Nothing to validate for option wait type m value undef
- # OptionParser:664 25375 Nothing to validate for option conflict-comparison type s value undef
- # DSNParser:1185 25375 Setting set-vars property
- # DSNParser:1256 25375 DSN string made from options: p=XXXXXXXXXXXX,u=kyle,t=HASH(0x9d63e3c)
- # DSNParser:1197 25375 Parsing p=XXXXXXXXXXXXXX,u=kyle,t=HASH(0x9d63e3c)
- # DSNParser:1215 25375 Finding value for S
- # DSNParser:1225 25375 Copying value for S from defaults
- # DSNParser:1215 25375 Finding value for F
- # DSNParser:1225 25375 Copying value for F from defaults
- # DSNParser:1215 25375 Finding value for A
- # DSNParser:1225 25375 Copying value for A from defaults
- # DSNParser:1215 25375 Finding value for P
- # DSNParser:1225 25375 Copying value for P from defaults
- # DSNParser:1215 25375 Finding value for p
- # DSNParser:1215 25375 Finding value for u
- # DSNParser:1215 25375 Finding value for h
- # DSNParser:1225 25375 Copying value for h from defaults
- # DSNParser:1215 25375 Finding value for D
- # DSNParser:1225 25375 Copying value for D from defaults
- # DSNParser:1215 25375 Finding value for t
- # DSNParser:1197 25375 Parsing ops-colossus
- # DSNParser:1209 25375 Interpreting ops-colossus as h= ops-colossus
- # DSNParser:1215 25375 Finding value for S
- # DSNParser:1225 25375 Copying value for S from defaults
- # DSNParser:1215 25375 Finding value for F
- # DSNParser:1225 25375 Copying value for F from defaults
- # DSNParser:1215 25375 Finding value for A
- # DSNParser:1225 25375 Copying value for A from defaults
- # DSNParser:1215 25375 Finding value for P
- # DSNParser:1225 25375 Copying value for P from defaults
- # DSNParser:1215 25375 Finding value for p
- # DSNParser:1225 25375 Copying value for p from defaults
- # DSNParser:1215 25375 Finding value for u
- # DSNParser:1225 25375 Copying value for u from defaults
- # DSNParser:1215 25375 Finding value for h
- # DSNParser:1215 25375 Finding value for D
- # DSNParser:1225 25375 Copying value for D from defaults
- # DSNParser:1215 25375 Finding value for t
- # DSNParser:1225 25375 Copying value for t from defaults
- # OptionParser:738 25375 Getting description and usage from SYNOPSIS in /usr/bin/mk-table-sync
- # OptionParser:1005 25375 Parsing SYNOPSIS in /usr/bin/mk-table-sync
- # OptionParser:1018 25375 Raw SYNOPSIS text: Usage: mk-table-sync [OPTION...] DSN [DSN...]
- #
- # mk-table-sync synchronizes data efficiently between MySQL tables.
- #
- #
- # OptionParser:742 25375 Description: mk-table-sync synchronizes data efficiently between MySQL tables.
- # Usage: mk-table-sync [OPTION...] DSN [DSN...]
- # mk_table_sync:7603 25375 Loading TableSyncChunk
- # mk_table_sync:7603 25375 Loading TableSyncNibble
- # mk_table_sync:7603 25375 Loading TableSyncGroupBy
- # mk_table_sync:7603 25375 Loading TableSyncStream
- # mk_table_sync:7629 25375 Getting master of h=ops-colossus,p=...,u=kyle
- # DSNParser:1306 25375 DBI:mysql:;host=ops-colossus;mysql_read_default_group=client
- # DSNParser:1352 25375 DBI:mysql:;host=ops-colossus;mysql_read_default_group=client kyle XXXXXXXXXXXX { mysql_enable_utf8=>0, ShowErrorStatement=>1, AutoCommit=>0, RaiseError=>1, PrintError=>0 }
- # DSNParser:1361 25375 DBI::db=HASH(0x9db106c) SELECT @@SQL_MODE
- # DSNParser:1368 25375 DBI::db=HASH(0x9db106c) SET @@SQL_QUOTE_SHOW_CREATE = 1/*!40101, @@SQL_MODE='NO_AUTO_VALUE_ON_ZERO'*/
- # DSNParser:1387 25375 DBI::db=HASH(0x9db106c) : SET wait_timeout=10000
- # DSNParser:1413 25375 DBH info: DBI::db=HASH(0x9db106c) $VAR1 = {
- # '@@hostname' => 'ops-colossus.int.pason.com',
- # 'CONNECTION_ID()' => '1425',
- # 'DATABASE()' => undef,
- # 'VERSION()' => '5.1.44-community-log'
- # };
- # Connection info: ops-colossus via TCP/IP Character set info: $VAR1 = [
- # {
- # Value => 'latin1',
- # Variable_name => 'character_set_client'
- # },
- # {
- # Value => 'latin1',
- # Variable_name => 'character_set_connection'
- # },
- # {
- # Value => 'latin1',
- # Variable_name => 'character_set_database'
- # },
- # {
- # Value => 'binary',
- # Variable_name => 'character_set_filesystem'
- # },
- # {
- # Value => 'latin1',
- # Variable_name => 'character_set_results'
- # },
- # {
- # Value => 'latin1',
- # Variable_name => 'character_set_server'
- # },
- # {
- # Value => 'utf8',
- # Variable_name => 'character_set_system'
- # },
- # {
- # Value => '/usr/share/mysql/charsets/',
- # Variable_name => 'character_sets_dir'
- # }
- # ];
- # $DBD::mysql::VERSION: 4.007 $DBI::VERSION: 1.52
- # mk_table_sync:8562 25375 DBI::db=HASH(0x9db106c) /*!40101 SET @@SQL_MODE := CONCAT(@@SQL_MODE, ",NO_AUTO_VALUE_ON_ZERO")*/
- # mk_table_sync:8568 25375 DBI::db=HASH(0x9db106c) /*!50105 SET @@binlog_format="STATEMENT"*/
- # mk_table_sync:8582 25375 Opened dbh DBI::db=HASH(0x9db106c)
- # MasterSlave:6069 25375 DBI::db=HASH(0x9db106c) SHOW SLAVE STATUS
- # DSNParser:1197 25375 Parsing h=127.0.0.1,P=3307
- # DSNParser:1215 25375 Finding value for S
- # DSNParser:1225 25375 Copying value for S from defaults
- # DSNParser:1215 25375 Finding value for F
- # DSNParser:1225 25375 Copying value for F from defaults
- # DSNParser:1215 25375 Finding value for A
- # DSNParser:1225 25375 Copying value for A from defaults
- # DSNParser:1215 25375 Finding value for P
- # DSNParser:1215 25375 Finding value for p
- # DSNParser:1221 25375 Copying value for p from previous DSN
- # DSNParser:1215 25375 Finding value for u
- # DSNParser:1221 25375 Copying value for u from previous DSN
- # DSNParser:1215 25375 Finding value for h
- # DSNParser:1215 25375 Finding value for D
- # DSNParser:1225 25375 Copying value for D from defaults
- # DSNParser:1215 25375 Finding value for t
- # DSNParser:1225 25375 Copying value for t from defaults
- # DSNParser:1306 25375 DBI:mysql:;host=127.0.0.1;port=3307;mysql_read_default_group=client
- # DSNParser:1352 25375 DBI:mysql:;host=127.0.0.1;port=3307;mysql_read_default_group=client kyle XXXXXXXXXXXXXXXX { mysql_enable_utf8=>0, ShowErrorStatement=>1, AutoCommit=>0, RaiseError=>1, PrintError=>0 }
- # DSNParser:1393 25375 DBI connect(';host=127.0.0.1;port=3307;mysql_read_default_group=client','kyle',...) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /usr/bin/mk-table-sync line 1355
- #
- # DSNParser:1352 25375 DBI:mysql:;host=127.0.0.1;port=3307;mysql_read_default_group=client kyle XXXXXXXXXXXXXXXX { mysql_enable_utf8=>0, ShowErrorStatement=>1, AutoCommit=>0, RaiseError=>1, PrintError=>0 }
- # DSNParser:1393 25375 DBI connect(';host=127.0.0.1;port=3307;mysql_read_default_group=client','kyle',...) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /usr/bin/mk-table-sync line 1355
- #
- DBI connect(';host=127.0.0.1;port=3307;mysql_read_default_group=client','kyle',...) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /usr/bin/mk-table-sync line 1355
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement