Web Hosting Info

Search:

featured partner

The IP to Country Database

  Forum Topics : Support / Problem uploading csv to MySQL
Submitted by jwhite68 on Fri, 06/22/2007 - 11:06.
I have tried following the many suggestions in the handbook to upload the csv file, and each time I have a different error.

I am using the PHPMyAdmin import utility, and selecting CSV using LOAD DATA, then I set:

Fields terminated by: ,
Fields enclosed by: "
Fields escaped by: (blank)
Lines terminated by: \r\n
Use LOCAL keyword: (not checked)

I select the csv file using the BROWSE button to select the csv file from my local filesystem.

Then I hit go, and eventually get the following error back:

#1045 - Access denied for user 'xyz'@'localhost' (using password: YES).

Where xyz is the username for the database.

Has anyone else had similar experiences, or found a way to import the csv file with this import tool?
Comment viewing options:
Select your preferred way to display the comments and click 'Save settings' to submit your changes.
Use LOCAL keyword: (checked)
Posted by jwhite68 on Fri, 06/22/2007 - 13:13.
Use LOCAL keyword: (checked)

This fixed it. ie by setting the LOCAL option.