make_init_db_directory: Create MySQL initialisation directory.

Description Usage Arguments Details

View source: R/docker-mysql.R

Description

Create a directory from which to initialise the database. This will be bound to /docker-entrypoint-initdb.d.

Usage

1
make_init_db_directory(path_to_mysql_dump, username = NULL, password = NULL)

Arguments

path_to_mysql_dump

Path to the MySQL dump file.

username

Username

password

Password, or NULL, if no password.

Details

This directory contains the MySQL dump file which is copied here, and if username is not null, also a SQL file which creates the given user. and grants them readonly privileges.


james-atkins/resurrectr documentation built on Feb. 16, 2021, 12:06 a.m.