Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

## Command-Line usage (recommended)

1. `PGPASSWORD=yourpass pg_dump -h localhost --quote-all-identifiers \`
1. `PGPASSWORD=yourpass pg_dump --rows-per-insert=200 -h localhost --quote-all-identifiers \`
`--no-acl --no-owner --format p --data-only dbname -f pgfile.sql`

Additional documentation for `pg_dump` [here](http://www.postgresql.org/docs/9.3/static/app-pgdump.html)

1. `php pg2mysql_cli.php pgfile.sql mysqlfile.sql [engine]`
2. `php pg2mysql_cli.php pgfile.sql mysqlfile.sql [engine]`
* `pgfile.sql` will not be modified
* `mysqlfile.sql` will be overwritten if already exists
* engine is optional, default if not specified is InnoDB
Expand Down Expand Up @@ -47,4 +47,4 @@ $mysql=pg2mysql($postgres);
Credit goes to:
Author: James Grant
Lightbox Technolgoies
http://www.lightbox.org
http://www.lightbox.org