MySQL Forums
Forum List  »  Newbie

Error Code 1045
Posted by: Kevin M
Date: March 11, 2015 04:31PM

I am running the follwing SQL script. Table vendor_update gets created and then I get the following Error 1045 message.

"15:20:00 LOAD DATA INFILE 'C:/Users/KPC/Desktop/SOURCE-DATA.csv' INTO TABLE vendor_update FIELDS TERMINATED BY ',' IGNORE 1 ROWS Error Code: 1045. Access denied for user 'car2'@'1.1.1.1' (using password: YES) 0.031 sec"

"car2" is my master user name for all databases. What am I doing wrong? What should I do to fix it?


use car2_Test;

CREATE TABLE vendor_update (
id INT NOT NULL AUTO_INCREMENT,
vendor_model VARCHAR(255) NOT NULL,
vendor_qty float,
PRIMARY KEY (id)
);

LOAD DATA INFILE 'C:/Users/KPC/Desktop/SOURCE-DATA.csv'
INTO TABLE vendor_update
FIELDS TERMINATED BY ','
IGNORE 1 ROWS;

Options: ReplyQuote


Subject
Written By
Posted
Error Code 1045
March 11, 2015 04:31PM
March 11, 2015 05:45PM
March 12, 2015 12:35AM
March 12, 2015 01:48PM
March 12, 2015 02:16PM
March 12, 2015 03:28PM
March 12, 2015 04:07PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.