[C++] 如何在Windows下使用vs 2022的vc++项目访问mysql 8?

关于mysql connector/C++

mysql connector/C++是官方提供的C++驱动程序,如果我们想通过C++代码来访问Mysql8,就必须借助它。

MySQL :: MySQL Connector/C++ Developer Guide

[C++] 如何在Windows下使用vs 2022的vc++项目访问mysql 8?_第1张图片

GitHub - mysql/mysql-connector-cpp: MySQL Connector/C++ is a MySQL database connector for C++. It lets you develop C++ and C applications that connect to MySQL Server.

下载Mysql8的Windows版本的驱动

MySQL :: MySQL Connector/C++ Developer Guide :: 3 Installing Connector/C++ from a Binary Distribution

MySQL :: Download Connector/C++

[C++] 如何在Windows下使用vs 2022的vc++项目访问mysql 8?_第2张图片

https://cdn.mysql.com//Downloads/Connector-C++/mysql-connector-c++-8.2.0-winx64.zip (对应release版本)

https://cdn.mysql.com//Downloads/Connector-C++/mysql-connector-c++-8.2.0-winx64-debug.zip (对应debug版本)

解压下载的zi

你可能感兴趣的:(C++,Mysql,mysql,vs,2022,C++)