base64 encode in MySQL

前端 未结 8 1267
执笔经年
执笔经年 2020-12-01 05:10

I want to select a blob col from one table, base64 encode it and insert it into another tables. Is there any way to do this without round tripping the data out of the DB and

8条回答
  •  情话喂你
    2020-12-01 05:42

    If you need this for < 5.6, I tripped across this UDF which seems to work fine:

    https://github.com/y-ken/mysql-udf-base64

提交回复
热议问题