0

i have node js server using Mysql. and a client(iphone, android phone) send base64 encoded(from image) string to my server.

in my server, what is best way to insert base64 string to table?

  1. just insert origin base64 string to column MEDIUMTEXT.
  2. after convert base64 to a blob like this(gist.github.com/fupslot/5015897), insert blob data to column MEDIUMBLOB.
dh0rmfpdlxm
  • 219
  • 3
  • 14

0 Answers0