Fixed #3767 - mysql_user command fails with dots (and underscores) in
database names.