Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: how to connect to mysql as anonymous user with perl

by oko1 (Deacon)
on Dec 30, 2010 at 18:32 UTC ( #879852=note: print w/replies, xml ) Need Help??


in reply to how to connect to mysql as anonymous user with perl

You may be confusing something like FTP - where anonymous users log in with 'anonymous' as the username and some random string (usually, an email address) - with MySQL, where anonymous users log in with 'guest' (usually) as the username and no password. It's a different scenario overall.

Of course, you could follow the advice you got from roboticus if you actually want to have a user named 'anonymous' with a password of 'yes' - but that would create an expectation failure. The point of default usernames and passwords is that most people know what they are in a given situation and thus don't have to ask anyone. No one is going to be able to guess your username and password - which means that "anonymous/yes" is no different from "fizzlegig/Af5&%#g!dRqqq" (i.e., a non-anonymous username/password pair.)

-- 
Education is not the filling of a pail, but the lighting of a fire.
 -- W. B. Yeats
  • Comment on Re: how to connect to mysql as anonymous user with perl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://879852]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2021-10-24 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (88 votes). Check out past polls.

    Notices?