Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Comment on


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');

In reply to Using DB->connect for mysql db without password by angeloulivieri

and:  <code> code here </code>

  • Please read these before you post! —
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others scrutinizing the Monastery: (9)
    As of 2014-07-14 07:58 GMT
    Find Nodes?
      Voting Booth?

      When choosing user names for websites, I prefer to use:

      Results (256 votes), past polls