0 (or "plain") = No encryption. Passwords stored in plaintext.
HIGHLY DISCOURAGED.
1 (or "Y") = Use crypt(3) function.
2 (or "mysql") = Use MySQL PASSWORD() function. It is possible
that the encryption function used by pam-mysql
is different from that of the MySQL server, as
pam-mysql uses the function defined in MySQL's
C-client API instead of using PASSWORD() SQL function
in the query.
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '('123456'))' at line 1