Syntax
TO_BASE64(str)
Purpose
Converts a string parameter to base-64 encoding. You can use the FROM_BASE64 function to decode a base-64 encoded string. For more information, see FROM_BASE64().
Examples
obclient> SELECT TO_BASE64('OB');
+-----------------+
| TO_BASE64('OB')
+-----------------+
| T0I= |
+-----------------+
1 row in set
