Bug #16006 add a new user with empty name will cause an exception
Submitted: 27 Dec 2005 8:47 Modified: 18 Jun 2006 20:55
Reporter: ming lu Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Administrator Severity:S2 (Serious)
Version:1.1.6 OS:Windows (windows2000 server)
Assigned to: CPU Architecture:Any

[27 Dec 2005 8:47] ming lu
Description:
    The mysql administrator allows to create an empty name user now. After apply changes, choose the other users in the users accounts list, an exception will occur.

How to repeat:
see description

Suggested fix:
Create an empty name user should be forbidded.
[27 Dec 2005 8:58] ming lu
the picture of the exception

Attachment: add user.jpg (image/jpeg, text), 82.86 KiB.

[27 Dec 2005 12:55] Aleksey Kishkin
I disagree. Empty user means - no username was specified at all. It's ok for 'anonumous connection' but of course it mustn't be case of exception in the mysql admin. 

At leaest on linux I didn't get any exceptions. Going to test it on windows.
[28 Dec 2005 1:09] ming lu
I find the exception in the windows platform. 
The os is windows2000 server.
[28 Dec 2005 15:17] Aleksey Kishkin
didn't get any exception on windows xp sp2. 
Ok, I'll try it on very windows 2000.
[29 Dec 2005 2:26] ming lu
repeat the problem easily by the following stemps:

run mysql-administrator  -> user administration -> user accounts -> press mouse right key and pop menu  -> press add new user button -> press mouse right key and pop menu -> press add new user button  -> choose the 'yes' button when pop the question  'the user New User has been modified, do you want to storage the changes?'    then the exception occurs.
[11 Jan 2006 5:51] ming lu
I done a same test with administrator V1.1.6 in windows platform. The problem still exists.
[18 May 2006 20:55] Valeriy Kravchuk
Please, try to repeat with a newer version, 1.1.9, and inform about the results.
[18 Jun 2006 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".