CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Using DBI->connect for mysql db without password

 



angeloulivieri
Novice

Sep 11, 2013, 5:45 AM

Post #1 of 2 (827 views)
Using DBI->connect for mysql db without password Can't Post

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:


Code
$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...


Code
$drh->func("createdb", $database, $host, 'admin');



(This post was edited by angeloulivieri on Sep 11, 2013, 5:45 AM)


Laurent_R
Veteran / Moderator

Sep 11, 2013, 12:14 PM

Post #2 of 2 (821 views)
Re: [angeloulivieri] Using DBI->connect for mysql db without password [In reply to] Can't Post

Cross posted on Perlmonks.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives