View source: R/databaseConnection.R
To connect to a MySQL database
1 | databaseConnection(input, output, session)
|
host |
Where the server is running. The default value is localhost. |
port |
A port number to use for the connection, for connections made using TCP/IP. |
dbname |
database name |
user |
A mysql account grant privileges to manipulate table |
password |
for security purposes. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.