Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: DBI -- Synchronize table diffs?

by gmax (Abbot)
on Nov 05, 2002 at 17:00 UTC ( [id://210517]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    $ mysqldump --add-drop-table -h host1 db1 | mysql -h host2 db2
  2. or download this
    # copies the target data without the structure. Creates a
    # complete SQL statement including all the field names.
    # reinserts the data
    $ mysql -h host2 db2 < db2.sql
  3. or download this
    $ ./dbdiff host1 db1 host2 db2
    $ ./dbdiff host2 db2 host1 db1
  4. or download this
    #!/usr/bin/perl -w
    use strict;
  5. or download this
     _  _ _  _  
    (_|| | |(_|><

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://210517]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-07-24 10:18 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.