connect2db: Connect to UWIN database

View source: R/database_functions.R

connect2dbR Documentation

Connect to UWIN database

Description

connect2db connects to the UWIN camera trapping database. It takes no arguments but will request for the password to the UWIN database when a connection is attempted.

Usage

connect2db(user = "root")

Arguments

user

the name of the user you want to login as. Defaults to 'root'.

Value

If the password is correctly input connect2db will return a MySQLConnection called uwidb. to the global environment.

Examples

## Not run: 
connect2db()

## End(Not run)

mfidino/uwinutils documentation built on June 11, 2025, 1:49 p.m.