Create a handler to connect to a remote database.
Usage
newConnHandler(
dbname = "sigrepo",
host = "sigrepo.org",
port = 3306,
api_port = 8020,
user = "guest",
password = "guest"
)
Arguments
- dbname
Name of MySQL database to point to (required)
- host
Name of the server where MySQL database is hosted on (required)
- port
Port on the server to connect to MySQL database (required)
- api_port
Port on the server to access database API (required)
- user
Name of user to establish the connection (required)
- password
Password associated with the user (required)