open_conn_mysql | R Documentation |
Uses RMariaDB
to open a connection to a MySQL database.
open_conn_mysql( dbname, user = "root", password = NULL, host = "127.0.0.1", port = 3306 )
dbname |
Database/Schema name. |
user |
Username of database owner. |
password |
Password (default: |
host |
Database host, it can be local (default) or remote. |
port |
Database port. |
MariaDBConnection
connection object.
Other DB functions:
close_conn()
,
delete()
,
insert()
,
list_tables()
,
select_all()
,
select()
,
update()
## Not run: conn <- open_conn_mysql("sys") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.