Encode an input String using Base64.
Function
TO_BASE64(str)
Parameters
str - The String to be encoded
Return value
Returns the Base64-encoded version of str.
Example
#note: This function was added in MySQL 5.6.1. mysql> SELECT TO_BASE64('base64 encoded string'); -> YmFzZTY0IGVuY29kZWQgc3RyaW5n
0 comments:
Post a Comment