Fixes to mysql.php and mysqldatabaseusers.tpl