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?
- just insert origin base64 string to column MEDIUMTEXT.
- after convert base64 to a blob like this(gist.github.com/fupslot/5015897), insert blob data to column MEDIUMBLOB.