Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: unable to connect new database in mysql

by cjb (Friar)
on Aug 10, 2011 at 11:41 UTC ( [id://919640]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $db = 'ram';
    my $host = ''; # hostname
    my $port = ''; # portnumber
    $dbh = DBI->connect("DBI:mysql:database=$db;host=$host;port=$port",'ro
    +ot','root') or die "Connection Error: $DBI::errstr\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://919640]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-25 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found