|Think about Loose Coupling|
Using DB->connect for mysql db without passwordby angeloulivieri (Initiate)
|on Sep 11, 2013 at 12:34 UTC||Need Help??|
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');