Skip to content

Prefer MariaDB Connector/C while retaining MySQL compatibility #612

Description

@somethingwithproof

Spine’s containers already build with MariaDB Connector/C, but Autoconf and hosted CI still center legacy libmysqlclient discovery. The build logic manually searches architecture-specific paths, probes libmysqlclient_r twice, and falls back to the obsolete mariadbclient library name.

Use mariadb_config preferentially, retain mysql_config and library-discovery fallbacks, validate mysql.h plus mysql_init, and test both MariaDB Connector/C and MySQL Connector/C in CI. This is a client-library/build change only; it does not change the supported database servers or SQL behavior.

No existing open issue or pull request implements this discovery change. PR #597 touches configure.ac and reorganizes CI but retains the old client-library logic, so it must be rebased after this lands.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions