Skip to content

Discover mysql and mariadb discovers the client binary insted of the server binary #1

@KhatibMechentel

Description

@KhatibMechentel

Hello.
The functions discover_mysql_in_pod and discover_mariadb_in_pod in the CVK8SDiscoverDB.sh script dicover the mysql binary and not the server one.
For example, if we have a Wordrpress application, we will try to create cvtasks and cvtasksets for the wordpress pod in addition to the mariadb one.
The proper way is to test mysqld --version, type mysqld, and which mysqld.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions