probeDB: Probe a db server

View source: R/utils.R

probeDBR Documentation

Probe a db server

Description

Fast probe a db server see if it can be reached through a given port. Default to scidb.mpio.orn.mpg.de and port 3306

Usage

probeDB(probe = TRUE, name = "scidb.mpio.orn.mpg.de", port = 3306)

Arguments

probe

if FALSE, will not probe the db and return ”127.0.0.1'. Default to TRUE.

name

default to scidb.mpio.orn.mpg.de

port

default to 3306 (mariadb's default port )

Value

when reachable return the name of probed server else falls back to localhost (127.0.0.1)

Examples

## Not run: 
probeDB()


## End(Not run)

mpio-be/sdb documentation built on Nov. 18, 2022, 12:24 a.m.