Edward Kawas > MOBY > MOBY::mysql

Download:
MOBY-1.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.03   Source  

NAME ^

MOBY::mysql - makes a MYSQL database connection.

SYNOPSIS ^

 use MOBY::simple_output;
 my $dbh = MOBY::central_db_connection->new(
        db_connect_object => "MOBY::mysql",
        username => "myusername"
        password => "mypassword",
        dbname => "dbname",
        host => "dbhost",
 )

 $sth = $dbh->prepare("select * from tablename");

DESCRIPTION ^

makes a mysql conneciton to the database. Should be created via a central_db_connection object only!

AUTHORS ^

Mark Wilkinson (mwilkinson@gene.pbi.nrc.ca)

syntax highlighting: