makeDBConnection: makeDBConnection

View source: R/r4moves.R

makeDBConnectionR Documentation

makeDBConnection

Description

A wrapper for dbConnect()

Usage

makeDBConnection(
  user,
  password,
  host = "localhost",
  port = 3306,
  dbapi = "MariaDB"
)

Arguments

user

mysql user name

password

mysql password

host

mysql host, default to localhost

Value

dbConnect()

Examples

makeDBConnection("mysql_user", "password12345")
makeDBConnection("mysql_user", "password12345", host="168.1.1.1")

hlinak/R-for-MOVES documentation built on Jan. 31, 2023, 2:03 p.m.