Re: SQL - Output into file
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60300
interpreted = N
texte = '/result.txt', as far as MySQL is concerned, is the root of the System (not the web site, which MySQL has no knowledge of). Does MySQL have privileges to write there?- brianOn Dec 6, 2004, at 8:23 AM, Larry Hewitt wrote:> SELECT votes,percent INTO OUTFILE '/result.txt' FIELDS TERMINATED BY > ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' FROM > candidates_co;>> This code is right out of the MySql manual. I get a 'can't > create/write' error. The docs say the FilePriv must be set to Y, > which according to the MySQL tables is.>> Any ideas?>>>> Larry Hewitt360.807.1100 OFFICE> HCO, LLC 360.807.1103 FAX> 109 No. Tower360.880.4855 CELL> P.O. Box 1017larryh@hewittco.com> Centralia, WA 98531www.votewashington.org> www.hewittco.com>-- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com ---------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
'/result.txt', as far as MySQL is concerned, is the root of the System (not the web site, which MySQL has no knowledge of). Does MySQL have privileges to write there?- brianOn Dec 6, 2004, at 8:23 AM, Larry Hewitt wrote:> SELECT votes,percent INTO OUTFILE '/result.txt' FIELDS TERMINATED BY > ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' FROM > candidates_co;>> This code is right out of the MySql manual. I get a 'can't > create/write' error. The docs say the FilePriv must be set to Y, > which according to the MySQL tables is.>> Any ideas?>>>> Larry Hewitt360.807.1100 OFFICE> HCO, LLC 360.807.1103 FAX> 109 No. Tower360.880.4855 CELL> P.O. Box 1017larryh@hewittco.com> Centralia, WA 98531www.votewashington.org> www.hewittco.com>-- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com ---------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Brian Fries
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Cache headers - WebDNA 5 (2005)
Explorer 3.0/ Access Denied! (1997)
Any problems with Welcome & WebCat? (2000)
Creditcard verification with WebCat (1998)
Exclamation point (1997)
bugs w/! &/or bad scripting??? (1997)
emailer settings and control questions (1997)
PSC recommends what date format yr 2000??? (1997)
Banner Ad example (Typhoon) and WebCatalog (1997)
A little syntax help (1997)
date formatting for CC card expiration date check (1998)
Alex's detailed WebMerchant questions (1998)
Using [sendmail] for mass mailings (2001)
For those of you not on the WebCatalog Beta... (1997)
SUBMIT buttons not working.... (2000)
Problems reading files created by WC (1997)
Error Log.db --however (1997)
CloseDataBase vs CommitDataBase (2007)
WCf2 and nested tags (1997)
Help formatting search results w/ table (1997)