Skip to content

cmake: build MySQL driver with server variant - #7465

Merged
nilason merged 1 commit into
OSGeo:mainfrom
nilason:cmake_fix_mysql_build
Jun 2, 2026
Merged

nilason merged 1 commit into
OSGeo:mainfrom
nilason:cmake_fix_mysql_build

Conversation

@nilason

@nilason nilason commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Build MySQL driver with CMake against standard MySQL/MariaDB server (not an embedded version).

This should be sufficient to fix the build as reported with #7450.

For the future, we should consider to remove the MySQL Embedded Driver, as @echoix correctly noted embedded MySQL is deprecated for a long time.

Closes #7450

@nilason nilason added this to the 8.5.1 milestone Jun 1, 2026
@nilason nilason added the backport to 8.5 PR needs to be backported to release branch 8.5 label Jun 1, 2026
@tmszi

tmszi commented Jun 1, 2026

Copy link
Copy Markdown
Member

Tested compilation process (with mysql USE flag enabled) under Gentoo GNU/Linux and it works as expected.

@github-actions github-actions Bot added database Related to database management module CMake labels Jun 1, 2026
@nilason

nilason commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

Tested compilation process (with mysql USE flag enabled) under Gentoo GNU/Linux and it works as expected.

Thanks!

@nilason
nilason merged commit 89f2b29 into OSGeo:main Jun 2, 2026
22 checks passed
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Jul 7, 2026
@neteler neteler removed the backport to 8.5 PR needs to be backported to release branch 8.5 label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake database Related to database management module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] cmake: db/drivers/mysql/dbe.c:69:35: error: ‘MYSQL_OPT_USE_EMBEDDED_CONNECTION’ undeclared

4 participants