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? - brian On 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:

    
  1. Re: SQL - Output into file ( "Jason Aus" 2004)
  2. Re: SQL - Output into file ( "Jason Aus" 2004)
  3. Re: SQL - Output into file ( Larry Hewitt 2004)
  4. Re: SQL - Output into file ( Brian Fries 2004)
  5. SQL - Output into file ( Larry Hewitt 2004)
'/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? - brian On 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:

question on max variable in searching... (2000) Web*SSL and WebCatalog (1997) Credit Card processing (1998) [taxrate] question (1997) RE: High ASCII inside [LOOKUP] inside [LISTWORDS] (1998) [numFound] inside [showIf]? (2000) Date search - yes or no (1997) is there a global includes directory? (1998) Problems passing [SKU] with $Replace in 2.0 (1997) Need relative path explanation (1997) Webstar 1.3.1 PPC (1997) [WebDNA] Accepting Payments on Site (2013) email code (1998) Internet Advancement (2003) RE: Can WebCatalog.debug solve my problem? (2000) Summ (1998) WebCat and AppleShare 6.0 (1998) international time (1997) [WebDNA] Emailer file size limits? (2020) questions on variations of Ken's [text (1999)