Posted By

vasilije on 11/13/08


mysql db

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


mysql replicate database

 / Published in: Bash

  1. # mysqladmin create DB_name -u DB_user --password=DB_pass && \
  2. mysqldump -u DB_user --password=DB_pass DB_name | mysql -u DB_user --password=DB_pass -h DB_host DB_name

Report this snippet  

You need to login to post a comment.