Description oefenwebDatabase functions
The oefenwebDatabase package provides functionality to establish and terminate connections to all Oefenweb databases. In order for the oefenwebDatabase functions to work, a
1 | .my.cnf
|
must be present in the working environment in which the oefenwebDatabase functions are used. The
1 | .my.cnf
|
file is automatically generated for
users with access to the RStudio oefenweb server. If not present, it should
look like this:
# Ansible managed
[client]
host = 127.0.0.1
port = 3306
user = username
password = 'password'
The oefenwebDatabase package contains the function
1 | connect()
|
to establish a database connection and
1 |
to terminate a specific connection and
1 |
to terminate all currently active connections.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.