1. Create a new user in privileges view, with no privileges
2. then in the dropdown select database names containing underscore character are displayed like this db\_name
3. Moreover. If you add a normal database privilege there (normal i.e. without underscore char) then that database will not appear in the dropdown again, which is ok. but this is broken for those containing underscore as they appear always.
Did you read FAQ 6.10 in Documentation.html ?
I just read it, but it does not explain this behavior.
I do not create the privilege by hand, but by using select boxes for already existing databases.
So, the behavior is inconsistent, because for non-underscored databases, they disappear from the list.
Ok I finally understood what you meant. About #2, displaying the db\_name is the phpMyAdmin does it, to be consistent with the way the privilege is stored in mysql.db.
About #3, you're right, if a db\_name was already assigned privileges, it should not appear again in the dropdown. Working on this bug.
Fixed in subversion, thanks for reporting.