unpak.get.con: Gets a connection based on db.* variables

Description Usage Examples

Description

Sets up a connection to the MySQL database

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function () 
{
    dbConnect(MySQL(), user = db.user, password = db.passwd, 
        host = db.host, dbname = "unpak")
  }

stranda/unpakDB documentation built on May 30, 2019, 7:55 p.m.