to_base64
to_base64β
descriptionβ
Syntaxβ
VARCHAR to_base64(VARCHAR str)
Returns the result of Base64 encoding the input string
exampleβ
mysql> select to_base64('1');
+----------------+
| to_base64('1') |
+----------------+
| MQ== |
+----------------+
mysql> select to_base64('234');
+------------------+
| to_base64('234') |
+------------------+
| MjM0 |
+------------------+
keywordsβ
to_base64