Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Sql error (load infile query)
Old 11-13-2005, 04:46 PM Sql error (load infile query)
Novice Talker

Posts: 9
Trades: 0
I get this error:
Quote:
Access denied for user: '1112185271@%' (Using password: YES)
Where using this code:
Quote:
LOAD DATA INFILE 'feeds/****/CategoryMappings.txt' INTO TABLE pd_shopping_categories
everything is there and should work, yet dosen't. The same db connection code is used as is used elsewhere on my site, and that error dosen't seem to come up. In phpmyadmin the same error comes up.

Any clue as to what is causing it?

Thanks
Tom
poordoggie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-13-2005, 04:52 PM
goldingh99's Avatar
Average Talker

Posts: 20
Trades: 0
Has the user got all the permissions for that table?
Have you tried it with localhost being the user?

If that is not what is up, can you please tell us more about what the problem is as this may help us to help you.
goldingh99 is offline
Reply With Quote
View Public Profile
 
Old 11-13-2005, 05:15 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
You have to grant permission to that user to perform that operation.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 11-15-2005, 05:11 PM
Novice Talker

Posts: 9
Trades: 0
Quote:
Originally Posted by cptnwinky
You have to grant permission to that user to perform that operation.
erm... ok, thanks. The point is its a "Rented" server, rented for free. But I will speak to my host!

Thanks
poordoggie is offline
Reply With Quote
View Public Profile
 
Old 11-27-2005, 02:30 PM
Novice Talker

Posts: 9
Trades: 0
Hi.. is there any way of doing this a different way? Maybe using fwrite or anything?
poordoggie is offline
Reply With Quote
View Public Profile
 
Old 11-27-2005, 03:43 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Yes you can read the contents of the file and as long as it is a standard dump file (in other words proper sql syntax) then you can just run the text as any other query.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Sql error (load infile query)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.44911 seconds with 12 queries