{"Name":"mysqldb","ID":"go.mondoo.com/mql/v13/providers/mysqldb","Version":"13.0.1","ConnectionTypes":["mysqldb"],"CrossProviderTypes":null,"Connectors":[{"Name":"mysqldb","Use":"mysqldb [host]","Short":"a MySQL or MariaDB server","Long":"Use the mysqldb provider to query a MySQL, MariaDB, or Percona server.\n\nThe provider connects to the server and runs read-only queries against\ninformation_schema, performance_schema, and the system catalogs to inventory\nusers, roles, privileges, schemas, routines, plugins, components, and\nconfiguration variables.\n\nBy default the provider discovers every schema on the server as its own asset.\n\nExamples:\n  cnspec shell mysqldb db.contoso.com --user root --ask-pass\n  cnspec scan mysqldb db.contoso.com --tls-mode true --tls-ca ca.pem\n","Flags":[{"Long":"host","Desc":"MySQL/MariaDB hostname or IP address","Type":3},{"Long":"port","Default":"3306","Desc":"MySQL/MariaDB TCP port","Type":2},{"Long":"database","Desc":"Default schema to connect to (optional)","Type":3},{"Long":"user","Short":"u","Desc":"User name to authenticate as","Type":3},{"Long":"password","Short":"p","Desc":"Set the connection password","Type":3,"Option":8,"ConfigEntry":"-"},{"Long":"ask-pass","Default":"false","Desc":"Prompt for the connection password","Type":1,"ConfigEntry":"-"},{"Long":"tls-mode","Default":"preferred","Desc":"TLS mode: false, skip-verify, preferred, or true","Type":3},{"Long":"tls-ca","Desc":"Path to the trusted CA certificate for TLS verification","Type":3},{"Long":"tls-cert","Desc":"Path to the client certificate for TLS client authentication","Type":3},{"Long":"tls-key","Desc":"Path to the client private key for TLS client authentication","Type":3}],"Discovery":["auto","all","instance","databases","none"]}],"AssetUrlTrees":null,"Platforms":[{"name":"mysqldb","title":"MySQL Server","family":["mysqldb"],"kind":["api"],"runtime":["mysqldb"]},{"name":"mysqldb-database","title":"MySQL Database","family":["mysqldb"],"kind":["api"],"runtime":["mysqldb"]}]}