connectToRaMP: Connect to RaMP database (requires mysql password when...

Description Usage Arguments Value Examples

View source: R/connectToRaMP.R

Description

Connect to RaMP database (requires mysql password when running locally)

Usage

1
2
connectToRaMP(dbname = "ramp", username = "root", conpass = NULL,
  host = "localhost")

Arguments

dbname

the name of the database (by default a string that is database name including all tables

username

a string that is username for database (default: root)

conpass

password for database (string)

host

a string that stand for host

Value

MySQL connection based on given dbname,username,password, and host

Examples

1
2
3
4
## Not run: 
con <- connectToRaMP(dbname="ramp",username="root",conpass="mypassword",host = "localhost")

## End(Not run)

Mathelab/RaMP-DB documentation built on April 24, 2021, 3:11 p.m.