db_query: Database Query

Description Arguments Examples

View source: R/hello.R

Description

In order to run the app you need a config.yml file in your home directory, or otherwise defined by options("config_path"=path) argument. This connects to the

Arguments

host

Hostname or IP address of the database, localhost for a local database.

port

The port for the database, usually 3306

Examples

1
2
3
4
5
6
7
default:
  shiny_mysql:
    host: database.example.com
    port: 3306
    database: example
    username: shiny
    password: 8cL*9UfSzQ^scP

Macrophage87/DBToolkit documentation built on July 28, 2019, 2:45 a.m.