http://www.perlmonks.org?node_id=879840

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello How do you connect to a mysql database as an anonymous user with perl? The following did not work:
my $username = "anonymous"; my $password = "yes"; our $sql_database = "xxxx"; our $sql_host = "xx"; our $sql_port = "3306"; my $db = DBI->connect("DBI:mysql:database=$sql_database;host=$sql_host +;port=$sql_port", $username, $password, {'RaiseError' => 1});
The error message was access denied for anonymous with password yes.

thanks a lot