- The username and password are the uername and password of any account which has at least INSERT privileges on the table you're dumping data into. If you haven't setup any accounts, you can use the default accounts created suring installation. They are:
username: root
password: <empty string>
username: <empty string>
password; <empty string>
- You must either first select the database which contains the table you're dumping into, or specify it in the LOAD DATA statement (I should've mentioned that🙂. Thus do either:
mysql>use <your_db_name>;
and then the LOAD DATA statement or
mysql>LOAD DATA LOCAL INFILE 'c:/path/to/your/text_file.txt' INTO TABLE your_db_name.table_name;
I'd also suggest you seriously think about reading the MySQL manual at http://www.mysql.com/doc/ as this, and basically every other MySQL operation, are very well discussed in the docs.
-geoff