ajout de la commande pour copier les tsv dans le conteneur
This commit is contained in:
parent
9629a8c41b
commit
05676eea0d
@ -1,5 +1,10 @@
|
|||||||
# Rapport de projet module 106
|
# Rapport de projet module 106
|
||||||
|
|
||||||
|
|
||||||
|
docker cp C:\Users\pn26qvj\Downloads\exports_tsv_final\* /var/lib/mysql-files
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
LOAD DATA INFILE '/var/lib/mysql-files/t_passager.tsv'
|
LOAD DATA INFILE '/var/lib/mysql-files/t_passager.tsv'
|
||||||
INTO TABLE t_passager
|
INTO TABLE t_passager
|
||||||
FIELDS TERMINATED BY '\t'
|
FIELDS TERMINATED BY '\t'
|
||||||
@ -48,3 +53,4 @@ INTO TABLE t_reservation
|
|||||||
FIELDS TERMINATED BY '\t'
|
FIELDS TERMINATED BY '\t'
|
||||||
LINES TERMINATED BY '\n'
|
LINES TERMINATED BY '\n'
|
||||||
IGNORE 1 LINES;
|
IGNORE 1 LINES;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user