getDbConfig | R Documentation |
Get database connection configuration
getDbConfig(dbName = "data")
dbName |
String providing the name of the database to connect to. If it is "data" it will use the MYSQL_DB_DATA environment variable, if it is "autoreport" it will use the MYSQL_DB_AUTOREPORT environment variable, and if it is "raplog" it will use the MYSQL_DB_LOG environment variable. If none of these are set, it will use the name provided. |
A list with name, user, password and host of the db connection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.