Syntax
------ 
PASSWORD(str)
 
Description
----------- 
The PASSWORD() function is used for hashing passwords for
use in authentication by the MariaDB server. It is not
intended for use in other applications.
 
Calculates and returns a hashed password string from the
plaintext password str. Returns an empty string (>= MariaDB
10.0.4) or NULL (

URL: https://mariadb.com/kb/en/password/