I am getting error
#7890 - Can't find file 'C:UsersAdminDesktopBL postcodes.csv.zip'.
here is the script
LOAD DATA LOCAL INFILE 'C:\Users\Admin\Desktop\BL postcodes.csv.zip'
IGNORE INTO TABLE uk_pc
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
(Postcode, Latitude, Longitude, Easting, Northing, GridRef, County, District, Ward, DistrictCode, WardCode, Country, CountyCode)
i have tried to change folders and change permission also but same error ... (working on localhost server)
'C:UsersAdminDesktopBL postcodes.csv.zip'
path has to be wrong because it doesn't have traling slashes. try: INFILE 'C:\\\\Users\\\\Admin\\\\Desktop\\\\BL postcodes.csv.zip'
And try with unpacked file.
use local infile like below:
load data local infile 'C:\\Users\\Admin\\Desktop\\' into table user
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.