connect: Connects to a given database.

Description Usage Arguments Value

View source: R/connect.R

Description

Connects to a given database.

Usage

1
2
3
4
connect(
  dbname = "oefenweb_nl_app",
  default.file = path.expand(file.path("~", ".my.cnf"))
)

Arguments

dbname

A database name, for example "oefenweb_nl_app" or "mathsgarden_com_app".

default.file

A MySQL configuration file, containing login credentials.

Value

A database connection (an object of class MySQLConnection).


Oefenweb/r-database documentation built on Feb. 21, 2020, 9:12 a.m.