Re: [WebDNA] Upload file to mysql

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113474
interpreted = N
texte = 1069 --Apple-Mail=_4D9F2C78-AF99-434B-AAD8-3DFF94674C2A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Brian I have not done that, but providing your MySQL field is LONGBLOB all = should work.=20 Also to be able to insert images that are bigger than 1MB you have to = increase the max_allowed_packed option in the server configuration file. I use Navicat to write all my queries and then copy & paset the query = into my WebDNA doc. Navicat makes writing & debugging fast. Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@idfk.com.au > On 21 Mar 2017, at 07:55, Brian Boegershausen = wrote: >=20 > Anyone successfully upload a file to a mysql db? > I can upload a text file but that is it. > Jpg and gif fail. >=20 > Unbuntu 14 > Webdna 8.2 > Mysql 5.5 >=20 >=20 > Brian Boegershausen >=20 >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_4D9F2C78-AF99-434B-AAD8-3DFF94674C2A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Hi Brian

I have not done that, but providing = your MySQL field is LONGBLOB all should work. 

Also to be able to = insert images that are bigger than 1MB you have to increase the = max_allowed_packed option in the server configuration file.

I use Navicat to write = all my queries and then copy & paset the query into my WebDNA doc. = Navicat makes writing & debugging fast.

Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 21 Mar 2017, at 07:55, Brian Boegershausen <brian@endeavotech.com> wrote:

Anyone successfully upload a file to a mysql db?
= I can upload a text file but that is it.
Jpg and gif fail.

Unbuntu 14
Webdna 8.2
Mysql 5.5


Brian Boegershausen



--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_4D9F2C78-AF99-434B-AAD8-3DFF94674C2A-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Upload file to mysql (Brian Boegershausen 2017)
  2. Re: [WebDNA] Upload file to mysql (Stuart Tremain 2017)
  3. Re: [WebDNA] Upload file to mysql (Brian Boegershausen 2017)
  4. Re: [WebDNA] Upload file to mysql (Stuart Tremain 2017)
  5. Re: [WebDNA] Upload file to mysql (Stuart Tremain 2017)
  6. Re: [WebDNA] Upload file to mysql (Brian Boegershausen 2017)
  7. Re: [WebDNA] Upload file to mysql (Stuart Tremain 2017)
  8. RE: [WebDNA] Upload file to mysql ( 2017)
  9. Re: [WebDNA] Upload file to mysql (Stuart Tremain 2017)
  10. RE: [WebDNA] Upload file to mysql ( 2017)
  11. Re: [WebDNA] Upload file to mysql (Stuart Tremain 2017)
  12. Re: [WebDNA] Upload file to mysql (Brian Boegershausen 2017)
  13. Re: [WebDNA] Upload file to mysql (Stuart Tremain 2017)
  14. RE: [WebDNA] Upload file to mysql ( 2017)
  15. [BULK] Re: [WebDNA] Upload file to mysql ("WJ Starck, DDS" 2017)
  16. Re: [WebDNA] Upload file to mysql (Stuart Tremain 2017)
  17. [WebDNA] Upload file to mysql (Brian Boegershausen 2017)
1069 --Apple-Mail=_4D9F2C78-AF99-434B-AAD8-3DFF94674C2A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Brian I have not done that, but providing your MySQL field is LONGBLOB all = should work.=20 Also to be able to insert images that are bigger than 1MB you have to = increase the max_allowed_packed option in the server configuration file. I use Navicat to write all my queries and then copy & paset the query = into my WebDNA doc. Navicat makes writing & debugging fast. Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@idfk.com.au > On 21 Mar 2017, at 07:55, Brian Boegershausen = wrote: >=20 > Anyone successfully upload a file to a mysql db? > I can upload a text file but that is it. > Jpg and gif fail. >=20 > Unbuntu 14 > Webdna 8.2 > Mysql 5.5 >=20 >=20 > Brian Boegershausen >=20 >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_4D9F2C78-AF99-434B-AAD8-3DFF94674C2A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Hi Brian

I have not done that, but providing = your MySQL field is LONGBLOB all should work. 

Also to be able to = insert images that are bigger than 1MB you have to increase the = max_allowed_packed option in the server configuration file.

I use Navicat to write = all my queries and then copy & paset the query into my WebDNA doc. = Navicat makes writing & debugging fast.

Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 21 Mar 2017, at 07:55, Brian Boegershausen <brian@endeavotech.com> wrote:

Anyone successfully upload a file to a mysql db?
= I can upload a text file but that is it.
Jpg and gif fail.

Unbuntu 14
Webdna 8.2
Mysql 5.5


Brian Boegershausen



--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_4D9F2C78-AF99-434B-AAD8-3DFF94674C2A-- . Stuart Tremain

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:

sendmail Q (2001) WebDNA to Apache RewriteMap (2005) [TaxableTotal] - not working with AOL and IE (1997) Reports of ErrorLog.txt not being written in Linux (2000) PSC recommends what date format yr 2000??? (1997) Shop till you drop dead on the avenue ... (1997) Sort Order on a page search (1997) Re2: Calculating multiple shipping... (1997) Only charge card when product shipped ? (1997) Date/Time format problems (1997) time and welcome (1999) Headers displaying (2000) [append] (1997) syntax question, not in online refernce (1997) 2nd WebCatalog2 Feature Request (1996) shipcost (1997) New Plug-in and Type 11 errors (1997) RE: AccountAuthorizer doesn't seem to work (1997) Webmerchant confirmation hooks? (1997) PCS Frames (1997)