在 Ubuntu 16.04 中安装 MySQL Connector/C

在 Ubuntu 16.04 中安装 MySQL Connector/C

我已经从以下网址下载了“Linux - Generic (glibc 2.12) (x86, 64 位),压缩 TAR 存档”在 dev.mysql.com 上我正在关注本教程。调用该命令时cmake -G "Unix Makefiles"报告以下错误:

CMake Error: The source directory "/media/temporary/Downloads/mysql-connector-c-6.1.11-linux-glibc2.12-x86_64/mysql-connector-c-6.1.11-linux-glibc2.12-x86_64" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

如果可用,请建议一种安装 MySQL Connector/C 的方法或教程。

相关内容