angeloulivieri has asked for the wisdom of the Perl Monks concerning the following question:
How can I do the thing in the title?
I've been googleing it for a lot of time but it seems that there's no way to access a database where no password has been set.
In example I use this form to create a db:
$drh->func("createdb", $database, $host, $mySqlUser, $mySqlPass, 'admin');
and it works. .but what about if I don't have user and password for my mysql?
This one for sure don't work...
$drh->func("createdb", $database, $host, 'admin');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Using DB->connect for mysql db without password
by rnewsham (Curate) on Sep 11, 2013 at 13:54 UTC | |
Re: Using DB->connect for mysql db without password
by hdb (Monsignor) on Sep 11, 2013 at 13:00 UTC | |
Re: Using DB->connect for mysql db without password
by jfroebe (Parson) on Sep 11, 2013 at 13:06 UTC | |
by angeloulivieri (Novice) on Sep 11, 2013 at 13:22 UTC | |
by Corion (Patriarch) on Sep 11, 2013 at 13:24 UTC | |
by angeloulivieri (Novice) on Sep 11, 2013 at 13:31 UTC | |
by poj (Abbot) on Sep 11, 2013 at 13:50 UTC | |
by moritz (Cardinal) on Sep 11, 2013 at 19:27 UTC | |
Re: Using DB->connect for mysql db without password
by karlgoethebier (Abbot) on Sep 11, 2013 at 18:54 UTC |
Back to
Seekers of Perl Wisdom