mysql

package
v0.0.0-beta3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NameMyCnf       = "my.cnf"
	NameWorkdir     = "@workdir"
	NameLogfile     = "@logfile"
	NameMysqlSecret = "@mysql_secret"
)
View Source
const (
	DistMyCnf       = "/etc/my.cnf"
	DistWorkdir     = "/var/lib/mysql"
	DistLogfile     = "/var/log/mysqld.log"
	DistMysqlSecret = "/root/.mysql_secret" // for mysql 5.6 random password file
)

Variables

View Source
var (
	ConfBindMyCnf       = appconf.NewConfBind(fs, NameMyCnf, DistMyCnf, perm)
	ConfBindWorkdir     = appconf.NewConfBind(fs, NameWorkdir, DistWorkdir, 0000)
	ConfBindLogfile     = appconf.NewConfBind(fs, NameLogfile, DistLogfile, 0000)
	ConfBindMysqlSecret = appconf.NewConfBind(fs, NameMysqlSecret, DistMysqlSecret, 0000)
)

Functions

func ConfBindMap

func ConfBindMap(optMyCnf OptMyCnf) map[string]any

Types

type OptMyCnf

type OptMyCnf struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL