Fix param datatype detection in mysql.php