Closed GoogleCodeExporter closed 9 years ago
Hi Gene,
I've been looking into this a little further, and the decision for this is
actually happening at the MySQL library level.
The logic appears to be that *if* the server is set up with a password for your
username, and you connect with no username set, it'll attempt to use your
username. If you don't have an account set up for your username, but do have
an anonymous account set up, it'll try that.
(It's slightly more complex - if the anonymous user is set not to need a
password, and you connect with a password, it'll try to connect with your
username, but not if you try to connect without a password - then it'll work.
And so forth…)
There doesn't actually even seem to be a way to connect explicitly as the
anonymous user - the only way is to specify a blank username, and then the odd
logic above kicks in anyway.
I'm afraid I can only conclude that we'll have to mark this as WontFix - the
only way to trigger this behaviour by default would I think be to change your
MySQL username to no longer match your computer's username…
Hope that makes sense - do comment further if not.
Original comment by rowanb@gmail.com
on 16 Jul 2010 at 11:30
Original issue reported on code.google.com by
g...@bnl.gov
on 16 Jul 2010 at 3:38