Bug or MariaDB 10.022 big? Unable to connect to DB when running ispconfig_htaccess.php script
Your protection script /usr/local/ispconfig/server/scripts/ispconfig_htaccess.php
doesn't work with the latest version of mariadb 10.0.22 - this may be the mariadb fork away from mysql?
The error is that mysqli cannot cpnnect to the database. For example an attempt to connect to mysql as root using mysql -u root -p will fail, because now the password must be provided immediately after the "-p" to connect to mysql as in: "mysql -u root -ppassword" - thus it is probably the scripts way of connecting to mysql that is not supported by this version of mariadb 10.0.22