Skip to content

rongfengliang/pgloader-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgloader with docker-compose running

command lines

  • from csv 2 pg
docker-compose up -d postgres
docker-compose up pgloader-csv
  • from fixed columns 2 pg
docker-compose up -d postgres
docker-compose up pgloader-fixed
  • from mysql 2 pg

for mysql:

mysql -uroot  -h127.0.0.1 -pdalongrong
create database f1db;
use f1db
source init-db/mysql/f1db.sql

for pg you may need create database f1db

docker-compose up pgloader-mysql

Releases

No releases published

Packages

No packages published

Languages