Advertisement
Guest User

Untitled

a guest
May 26th, 2017
537
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 10.58 KB | None | 0 0
  1. sigint-ignore                     FALSE
  2. port                              0
  3. prompt                            mysql>
  4. quick                             FALSE
  5. raw                               FALSE
  6. reconnect                         TRUE
  7. shared-memory-base-name           (No default value)
  8. socket                            (No default value)
  9. ssl                               FALSE
  10. ssl-ca                            (No default value)
  11. ssl-capath                        (No default value)
  12. ssl-cert                          (No default value)
  13. ssl-cipher                        (No default value)
  14. ssl-key                           (No default value)
  15. ssl-verify-server-cert            FALSE
  16. table                             FALSE
  17. user                              root
  18. safe-updates                      FALSE
  19. i-am-a-dummy                      FALSE
  20. connect_timeout                   0
  21. max_allowed_packet                16777216
  22. net_buffer_length                 16384
  23. select_limit                      1000
  24. max_join_size                     1000000
  25. secure-auth                       FALSE
  26. show-warnings                     FALSE
  27.  
  28. C:\xampp\mysql\bin>mysql --user=root --password=Hoornbeeck12 --database=test
  29. Welcome to the MySQL monitor.  Commands end with ; or \g.
  30. Your MySQL connection id is 72
  31. Server version: 5.1.41 Source distribution
  32.  
  33. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  34.  
  35. mysql>
  36. mysql>  LOAD DATA INFILE 'C:\xampp\htdocs\testScript\text.txt' INTO TABLE testta
  37. ble FIELDS TERMINATED BY ',' ( ID, voornaam, tussenvoegsel, achternaam, geb_datu
  38. m, straat, nummer, postcode, woonplaats );
  39. ERROR 29 (HY000): File 'C:xampphtdocs   estScript       ext.txt' not found (Errc
  40. ode: 22)
  41. mysql>  LOAD DATA INFILE 'C:\xampp\htdocs\testScript\text.txt' INTO TABLE testta
  42. ble FIELDS TERMINATED BY ',' ( ID, voornaam, tussenvoegsel, achternaam, geb_datu
  43. m, straat, nummer, postcode, woonplaats );
  44. ERROR 29 (HY000): File 'C:xampphtdocs   estScript       ext.txt' not found (Errc
  45. ode: 22)
  46. mysql> LOAD DATA INFILE 'C:\xampp\htdocs\testScript\text.txt' INTO TABLE testtab
  47. le FIELDS TERMINATED BY ',' ( ID, voornaam, tussenvoegsel, achternaam, geb_datum
  48. , straat, nummer, postcode, woonplaats );
  49. ERROR 29 (HY000): File 'C:xampphtdocs   estScript       ext.txt' not found (Errc
  50. ode: 22)
  51. mysql> LOAD DATA INFILE 'C:\xampp\htdocs\testScript\text.txt' INTO TABLE testtab
  52. le FIELDS TERMINATED BY ',' (ID, voornaam, tussenvoegsel, achternaam, geb_datum,
  53.  straat, nummer, nummer, postcode, woonplaats);
  54. ERROR 29 (HY000): File 'C:xampphtdocs   estScript       ext.txt' not found (Errc
  55. ode: 22)
  56. mysql> LOAD DATA INFILE 'C:\xampp\htdocs\testScript\test.txt' INTO TABLE testtab
  57. le FIELDS TERMINATED BY ',' ( ID, voornaam, tussenvoegsel, achternaam, geb_datum
  58. , straat, nummer, postcode, woonplaats );
  59. ERROR 29 (HY000): File 'C:xampphtdocs   estScript       est.txt' not found (Errc
  60. ode: 22)
  61. mysql> LOAD DATA INFILE 'test.txt' INTO TABLE testtable FIELDS TERMINATED BY ','
  62.  ( ID, voornaam, tussenvoegsel, achternaam, geb_datum, straat, nummer, postcode,
  63.  woonplaats );
  64. ERROR 29 (HY000): File 'C:\xampp\mysql\data\test\test.txt' not found (Errcode: 2
  65. )
  66. mysql> LOAD DATA INFILE './test.txt' INTO TABLE testtable FIELDS TERMINATED BY '
  67. ,' ( ID, voornaam, tussenvoegsel, achternaam, geb_datum, straat, nummer, postcod
  68. e, woonplaats );
  69. Query OK, 215 rows affected, 1935 warnings (0.00 sec)
  70. Records: 215  Deleted: 0  Skipped: 0  Warnings: 1720
  71.  
  72. mysql> SHOW WARNINGS
  73.     -> SHOW WARNINGS;
  74. ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
  75. corresponds to your MySQL server version for the right syntax to use near 'SHOW
  76. WARNINGS' at line 2
  77. mysql> SHOW WARNINGS;
  78. +-------+------+----------------------------------------------------------------
  79. --------------------------------------------------------------------------------
  80. -----------------+
  81. | Level | Code | Message
  82.  
  83.                  |
  84. +-------+------+----------------------------------------------------------------
  85. --------------------------------------------------------------------------------
  86. -----------------+
  87. | Error | 1064 | You have an error in your SQL syntax; check the manual that cor
  88. responds to your MySQL server version for the right syntax to use near 'SHOW WAR
  89. NINGS' at line 2 |
  90. +-------+------+----------------------------------------------------------------
  91. --------------------------------------------------------------------------------
  92. -----------------+
  93. 1 row in set (0.00 sec)
  94.  
  95. mysql> LOAD DATA INFILE './test.txt' INTO TABLE testtable FIELDS TERMINATED BY '
  96. ,' ( ID, voornaam, tussenvoegsel, achternaam, geb_datum, straat, nummer, postcod
  97. e, woonplaats );
  98. Query OK, 215 rows affected, 1935 warnings (0.00 sec)
  99. Records: 215  Deleted: 0  Skipped: 0  Warnings: 1720
  100.  
  101. mysql> SHOW WARNINGS;
  102. +---------+------+--------------------------------------------------------------
  103. --------------------------------------------------------------------------------
  104. --------+
  105. | Level   | Code | Message
  106.  
  107.         |
  108. +---------+------+--------------------------------------------------------------
  109. --------------------------------------------------------------------------------
  110. --------+
  111. | Warning | 1366 | Incorrect integer value: 'ID;Voornaam;Tussenvoegsel;Achternaa
  112. ' for column 'ID' at row 1               |ats;
  113. | Warning | 1261 | Row 1 doesn't contain data for all columns
  114.  
  115.        |
  116. | Warning | 1261 | Row 1 doesn't contain data for all columns
  117.  
  118.         |
  119. | Warning | 1261 | Row 1 doesn't contain data for all columns
  120.  
  121.        |
  122. | Warning | 1261 | Row 1 doesn't contain data for all columns
  123.  
  124.         |
  125. | Warning | 1261 | Row 1 doesn't contain data for all columns
  126.  
  127.        |
  128. | Warning | 1261 | Row 1 doesn't contain data for all columns
  129.  
  130.         |
  131. | Warning | 1261 | Row 1 doesn't contain data for all columns
  132.  
  133.        |
  134. | Warning | 1261 | Row 1 doesn't contain data for all columns
  135.  
  136.         |
  137. | Warning | 1366 | Incorrect integer value: 'ADA01191962;T.J.;;ADAMSE;01-19-1962
  138. ' for column 'ID' at row 2                         |
  139. | Warning | 1261 | Row 2 doesn't contain data for all columns
  140.  
  141.        |
  142. | Warning | 1261 | Row 2 doesn't contain data for all columns
  143.  
  144.         |
  145. | Warning | 1261 | Row 2 doesn't contain data for all columns
  146.  
  147.        |
  148. | Warning | 1261 | Row 2 doesn't contain data for all columns
  149.  
  150.         |
  151. | Warning | 1261 | Row 2 doesn't contain data for all columns
  152.  
  153.        |
  154. | Warning | 1261 | Row 2 doesn't contain data for all columns
  155.  
  156.         |
  157. | Warning | 1261 | Row 2 doesn't contain data for all columns
  158.  
  159.        |
  160. | Warning | 1261 | Row 2 doesn't contain data for all columns
  161.  
  162.         |
  163. | Warning | 1366 | Incorrect integer value: 'Alb09291920;Anna Willems;van;Alblas
  164. ' for column 'ID' at row 3                 |
  165. | Warning | 1261 | Row 3 doesn't contain data for all columns
  166.  
  167.        |
  168. | Warning | 1261 | Row 3 doesn't contain data for all columns
  169.  
  170.         |
  171. | Warning | 1261 | Row 3 doesn't contain data for all columns
  172.  
  173.        |
  174. | Warning | 1261 | Row 3 doesn't contain data for all columns
  175.  
  176.         |
  177. | Warning | 1261 | Row 3 doesn't contain data for all columns
  178.  
  179.        |
  180. | Warning | 1261 | Row 3 doesn't contain data for all columns
  181.  
  182.         |
  183. | Warning | 1261 | Row 3 doesn't contain data for all columns
  184.  
  185.        |
  186. | Warning | 1261 | Row 3 doesn't contain data for all columns
  187.  
  188.         |
  189. | Warning | 1366 | Incorrect integer value: 'Ann08241921;Vincent;;Annocque;08-24
  190. ' for column 'ID' at row 4                    |
  191. | Warning | 1261 | Row 4 doesn't contain data for all columns
  192.  
  193.        |
  194. | Warning | 1261 | Row 4 doesn't contain data for all columns
  195.  
  196.         |
  197. | Warning | 1261 | Row 4 doesn't contain data for all columns
  198.  
  199.        |
  200. | Warning | 1261 | Row 4 doesn't contain data for all columns
  201.  
  202.         |
  203. | Warning | 1261 | Row 4 doesn't contain data for all columns
  204.  
  205.        |
  206. | Warning | 1261 | Row 4 doesn't contain data for all columns
  207.  
  208.         |
  209. | Warning | 1261 | Row 4 doesn't contain data for all columns
  210.  
  211.        |
  212. | Warning | 1261 | Row 4 doesn't contain data for all columns
  213.  
  214.         |
  215. | Warning | 1366 | Incorrect integer value: 'Arc08101922;Jan Claesz;;Arckenbout;
  216. ' for column 'ID' at row 5   |traat;86;3791 AL;ACHTERVELD;
  217. | Warning | 1261 | Row 5 doesn't contain data for all columns
  218.  
  219.        |
  220. | Warning | 1261 | Row 5 doesn't contain data for all columns
  221.  
  222.         |
  223. | Warning | 1261 | Row 5 doesn't contain data for all columns
  224.  
  225.        |
  226. | Warning | 1261 | Row 5 doesn't contain data for all columns
  227.  
  228.         |
  229. | Warning | 1261 | Row 5 doesn't contain data for all columns
  230.  
  231.        |
  232. | Warning | 1261 | Row 5 doesn't contain data for all columns
  233.  
  234.         |
  235. | Warning | 1261 | Row 5 doesn't contain data for all columns
  236.  
  237.        |
  238. | Warning | 1261 | Row 5 doesn't contain data for all columns
  239.  
  240.         |
  241. | Warning | 1366 | Incorrect integer value: 'Asp02011924;Jacomina Gijsberts;van;
  242. ' for column 'ID' at row 6 |aunstraat;29;3791 VX;ACHTERVELD;
  243. | Warning | 1261 | Row 6 doesn't contain data for all columns
  244.  
  245.        |
  246. | Warning | 1261 | Row 6 doesn't contain data for all columns
  247.  
  248.         |
  249. | Warning | 1261 | Row 6 doesn't contain data for all columns
  250.  
  251.        |
  252. | Warning | 1261 | Row 6 doesn't contain data for all columns
  253.  
  254.         |
  255. | Warning | 1261 | Row 6 doesn't contain data for all columns
  256.  
  257.        |
  258. | Warning | 1261 | Row 6 doesn't contain data for all columns
  259.  
  260.         |
  261. | Warning | 1261 | Row 6 doesn't contain data for all columns
  262.  
  263.        |
  264. | Warning | 1261 | Row 6 doesn't contain data for all columns
  265.  
  266.         |
  267. | Warning | 1366 | Incorrect integer value: 'BAC11021962;M.;;BACKX;11-02-1962;H.
  268. ' for column 'ID' at row 7                        |
  269. | Warning | 1261 | Row 7 doesn't contain data for all columns
  270.  
  271.        |
  272. | Warning | 1261 | Row 7 doesn't contain data for all columns
  273.  
  274.         |
  275. | Warning | 1261 | Row 7 doesn't contain data for all columns
  276.  
  277.        |
  278. | Warning | 1261 | Row 7 doesn't contain data for all columns
  279.  
  280.         |
  281. | Warning | 1261 | Row 7 doesn't contain data for all columns
  282.  
  283.        |
  284. | Warning | 1261 | Row 7 doesn't contain data for all columns
  285.  
  286.         |
  287. | Warning | 1261 | Row 7 doesn't contain data for all columns
  288.  
  289.        |
  290. | Warning | 1261 | Row 7 doesn't contain data for all columns
  291.  
  292.         |
  293. | Warning | 1366 | Incorrect integer value: 'Bag07251926;Johannes;;Bagelaar;07-2
  294. ' for column 'ID' at row 8         |1 VM;ACHTERVELD;
  295. +---------+------+--------------------------------------------------------------
  296. --------------------------------------------------------------------------------
  297. --------+
  298. 64 rows in set (0.00 sec)
  299.  
  300. mysql>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement