Project

General

Profile

« Previous | Next » 

Revision 8274

bin/my2pg_export: Put --password first because it's an authentication-related option

View differences:

my2pg_export
3 3
# Usage: env [server=...] [schema=1] [data=1] self db [table...]
4 4

  
5 5
set -x
6
${server:+ssh "$server" }mysqldump --compatible=postgresql --add-locks=false \
7
--set-charset --lock-tables=false --quick --password\
6
${server:+ssh "$server" }mysqldump --password --compatible=postgresql \
7
--add-locks=false --set-charset --lock-tables=false --quick\
8 8
${schema:+ --no-data}${data:+ --no-create-info} "$@"

Also available in: Unified diff