.. old Linux always works, newer ones are shit, but here we are.. lest fix that crap: pam_mysql just dont load in Debian, cos is moved over a "secure locations, also, comes with some problems in Debian 7, Debian 8 and Debian 9 if you used differents Mysql/Mariadb versions. Here the simple and other solutions:
Feeds, issues, packages and code source about emulation and pograming, of VENENUX proyects, Debian related distros and massenkoh!