Syntax
TO_BASE64(str)
Purpose
TO_BASE64() converts a string parameter into a Base64-encoded string. You can call the FROM_BASE64() function to decode a Base64-encoded string.
Example
obclient [test]> SELECT TO_BASE64('OB');
+-----------------+
| TO_BASE64('OB') |
+-----------------+
| T0I= |
+-----------------+
1 row in set