Versions in this module Expand all Collapse all v3 v3.2.12 Jun 27, 2024 v3.2.11 Jun 27, 2024 v3.2.10 Jun 26, 2024 Changes in this version + func BuildDSN(opts MySQLOptions) (string, error) + type MySQLClient struct + func (c *MySQLClient) Connect(host string, port int, username, password string) (bool, error) + func (c *MySQLClient) ConnectWithDSN(dsn string) (bool, error) + func (c *MySQLClient) ExecuteQuery(host string, port int, username, password, query string) (*utils.SQLResult, error) + func (c *MySQLClient) ExecuteQueryOnDB(host string, port int, username, password, dbname, query string) (*utils.SQLResult, error) + func (c *MySQLClient) ExecuteQueryWithOpts(opts MySQLOptions, query string) (*utils.SQLResult, error) + func (c *MySQLClient) FingerprintMySQL(host string, port int) (MySQLInfo, error) + func (c *MySQLClient) IsMySQL(host string, port int) (bool, error) + type MySQLInfo struct + Debug plugins.ServiceMySQL + Host string + IP string + Port int + Protocol string + Raw string + TLS bool + Transport string + Version string + type MySQLOptions struct + DbName string + Host string + Password string + Port int + Protocol string + RawQuery string + Timeout int + Username string