DBD-mysql
DBD-mysql copied to clipboard
Try new appveyor.yml
trafficstars
Closes #359
Status update:
- Appveyor
Visual Studio 2022comes 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
Related: https://github.com/StrawberryPerl/build-extlibs/issues/1