Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try new appveyor.yml #384

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Draft

Try new appveyor.yml #384

wants to merge 12 commits into from

Conversation

dveeden
Copy link
Collaborator

@dveeden dveeden commented Nov 1, 2023

Closes #359

@dveeden
Copy link
Collaborator Author

dveeden commented Nov 1, 2023

Status update:

  • Appveyor Visual Studio 2022 comes with MySQL 8.0.34
  • This image has Strawberry Perl 5.32.1
  • Strawbery Perl comes with MySQL 5.7.16 client libraries (which are too old for DBD::mysql)

With a batch file that emulates mysql_config this manages to find mysql.h from MySQL 8.0. However ld.exe then fails to find things like mysql_init and mysql_real_connect. This is probably due to different compilers and compiler options being used for MySQL and Strawberry Perl.

https://dev.mysql.com/doc/c-api/8.2/en/c-api-building-clients.html#c-api-building-clients-compiling-mysql-clients-on-microsoft-windows

@dveeden
Copy link
Collaborator Author

dveeden commented Nov 1, 2023

Related: StrawberryPerl/build-extlibs#1

@dveeden dveeden marked this pull request as draft November 1, 2023 14:33
@dveeden dveeden added the CI label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup CI job for Windows and MySQL 8.x
1 participant