mysql

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, flags Flags, pmmUserPassword string) (*plugin.Info, error)

Init verifies MySQL connection and creates PMM user if requested.

Types

type Flags

type Flags struct {
	DefaultsFile string
	User         string
	Password     string
	Host         string
	Port         string
	Socket       string

	CreateUser         bool
	CreateUserPassword string
	MaxUserConn        uint16
	Force              bool
}

Flags are MySQL specific flags.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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