Sep 11, 2013, 5:45 AM
Post #1 of 2
How can I do the thing in the title?
Using DBI->connect for mysql db without password
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');
(This post was edited by angeloulivieri on Sep 11, 2013, 5:45 AM)