up
This commit is contained in:
parent
96f8264b8e
commit
302b8baac9
@ -35,8 +35,8 @@ Voila un sample des données parsées [geodvf/sample.json](geodvf/sample.json)
|
||||
Cette commande ouvre les fichiers csv et chie des inserts mysql en batch
|
||||
|
||||
echo "MYSQL=mysql://user:password@host/database?charset=utf8mb4&connectionLimit=10" > .env
|
||||
node parse.js geodvf/2023.csv.gz > geodvf/2023.sql
|
||||
pv geodvf/2023.sql | mysql -u user -ppassword -h host database
|
||||
node parse.js geodvf/2022.csv.gz | gzip > geodvf/2022.sql.gz
|
||||
pv geodvf/2023.sql.gz | gunzip | mysql -u user -ppassword -h host database
|
||||
|
||||
```
|
||||
CREATE TABLE IF NOT EXISTS dvf (
|
||||
|
Loading…
x
Reference in New Issue
Block a user