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
)
Database/Schema name.
Username of database owner.
Password (default: NULL
).
Database host, it can be local (default) or remote.
Database port.
MariaDBConnection
connection object.
Other DB functions:
close_conn()
,
delete()
,
insert()
,
list_tables()
,
select_all()
,
select()
,
update()
if (FALSE) {
conn <- open_conn_mysql("sys")
}