~daniel-nichter/mysql-sandbox/any-package-support

« back to all changes in this revision

Viewing changes to bin/make_replication_sandbox

  • Committer: Giuseppe Maxia
  • Date: 2010-04-06 16:00:41 UTC
  • Revision ID: g.maxia@gmail.com-20100406160041-wpi1t580w2jqdfak
- added a check in the 'start' script to verify that mysqld_safe exists and does can run properly.
- Added an exit code to the 'start' script to alert when the server does not start
- added help to make_sandbox_from_installed. Added /usr/sbin as source directory
- added instructions to the 'clear' script to remove functions and plugins 

Show diffs side-by-side

added added

removed removed

Lines of Context:
334
334
$msb->write_to('check_slaves', '>>', 'for NNUM in ' . $slave_list );
335
335
$msb->write_to('check_slaves', '>>', 'do' );
336
336
$msb->write_to('check_slaves', '>>', '  echo "slave # $NNUM"');
337
 
$msb->write_to('check_slaves', '>>', "  $replication_directory/node\$NNUM/use -N -e "
 
337
$msb->write_to('check_slaves', '>>', "  $replication_directory/node\$NNUM/use -e "
338
338
            . " 'show slave status\\G' | grep Running" );
339
339
$msb->write_to('check_slaves', '>>', 'done ' );
340
340
chmod 0755, 'check_slaves';