another fix in mysql credential detection to work with multiple entries in .my.cnf