Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Connecting to remote db with DBI

by dana (Monk)
on Mar 23, 2007 at 19:49 UTC ( [id://606334]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
       die ( "Couldn't connect to database: " . DBI->errstr );
    
    print "DONE\n";
    
  2. or download this
        DBI 1.54-ithread default trace level set to 0x0/1 (pid 25943) at q
    +uery_ensembl.pl line 23
    HERE
    ...
    ulti/DBD/mysql.pm
        <- install_driver= DBI::dr=HASH(0xa063d18)
        !! warn: 0 CLEARED by call to connect method
    
  3. or download this
    $ /usr/local/mysql-standard-5.0.27-linux-i686-glibc23/bin/mysql -u xx 
    +-h HOST -p
    Enter password:
    ...
    [deleted test select query]
    
    SELECT query successful.
    

Log In?
Username:
Password:

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

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

    No recent polls found