Encode an input String using Base64.
TO_BASE64(str)
str - The String to be encoded
Returns the Base64-encoded version of str.
#note: This function was added in MySQL 5.6.1.
mysql> SELECT TO_BASE64('base64 encoded string');
-> YmFzZTY0IGVuY29kZWQgc3RyaW5n