View source: R/setSQLOptions.R
setSQLOptions | R Documentation |
This function sets SQL default options for making database connections
setSQLOptions(localhoststr, portno, userstr, passwdstr, dbNameStr)
dbNameStr |
Database name to use for connections |
host |
Host location (often times localhost) |
port |
Port where the mysql server is open |
user |
MySQL username |
password |
Password used for login for MySQL server |
setSQLOptions("localhost",3306,"user","password","dbName")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.