#!/bin/bash 

source /home/credentials.sh

mysql -h $MARIADB_HOST -u $MARIADB_USER -p$MARIADB_PASS -e "LOAD DATA INFILE '/home/output.csv' IGNORE INTO TABLE minibase_material.products FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' IGNORE 1 LINES ; SHOW WARNINGS"

