Learn R Programming

dbparser (version 1.0.4)

open_mdb: Establish connection to given Maria database

Description

open_mdb opens connection to given Maria database.

Usage

open_mdb(username = "root", password = "root", server, output_database,
  host = "localhost", port = 3306)

Arguments

username

database user name

password

database user password

server

string, indicated the db server name.

output_database

string, the database name to be used, it has to be created before using it

host

database host

port

database port

Value

sets the open connection in memory to be used by other functions

Details

This function establishes connection to given Maria database to store, optionally, the parsed drug bank elements.

Examples

Run this code
# NOT RUN {
open_mdb(username = "root", password = "root",
 host = "localhost", port = 3306, output_database = "drugs")
# }

Run the code above in your browser using DataLab