Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\PSI011>cd C:\xampp\mysql\bin
C:\xampp\mysql\bin>mysqld
2017-08-22 14:24:49 15428 [Note] mysqld (mysqld 10.1.25-MariaDB) starting as process 16352 ...
C:\xampp\mysql\bin>mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 9
Server version: 10.1.25-MariaDB mariadb.org binary distribution
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use pkh;
Database changed
MariaDB [pkh]> LOAD DATA LOCAL INFILE 'D:/2017/PKH_FOR_BPKP/PKH_FOR_BPKP_01.csv'
-> INTO TABLE pkh_bpkp
-> FIELDS TERMINATED BY ','
->
OPTIONALLY ENCLOSED BY '"'
->
ESCAPED BY '"'
->
LINES TERMINATED BY '\n'
->
IGNORE 1 LINES;
Query OK, 4846175 rows affected, 65535 warnings (27 min 21.01 sec)
Records: 4846175 Deleted: 0 Skipped: 0 Warnings: 2557769
Komentar
Posting Komentar
Silakan dikomen...