Comments (2)
Oracle decided to not provide directly connector c anymore in the form we use it.
C API (libmysqlclient) is a client library for C development.
For C-language and SQL:
for MySQL 8.0, 5.7, 5.6, 5.5
we recommend MySQL 8.0 C API
For C-language and NoSQL XDevApi DocStore:
for MySQL 8.0 [not applicable to 5.7, 5.6, 5.5]
we recommend MySQL Connector/C++ 8.0
note: Connector/C++ 8.0 has compatible C headers
C API (libmysqlclient) is included in MySQL 8.0
Linux: The Client Utilities Package is available from the MySQL Community Server download page.
Repos: The Client Utilities Package is available from the Yum, APT, SuSE repositories.
Windows: The Client Utilities Package is available from the Windows Installer.
Previous GA versions are available from MySQL Product Archives.
Online Documentation:
MySQL C API
Please report any bugs or inconsistencies you observe to our Bugs Database.
Thank you for your support!
Latest updated code is 6.1.11 and can be found -> https://downloads.mysql.com/archives/c-c/
Therefore to keep this package updated we have some different options:
- Update to 6.1.11 : update should be easy but that code is from 2017 so it doesn't fit our purpose.
- Switch to cpp connector https://github.com/mysql/mysql-connector-cpp. Its not exactly same as connector c api iam not sure if it replace libmysql api perfectly or need code changes.
Major problem to use cpp connector is its not a full source. It have as requirement to have mysql server installed on the system. That make it more hard to hunterize i think.
They also maintain 3 different branches, 1.xx, 2.xx and 8.xx. Not sure yet about all differences. - Take part of the latest mysql server code and clean it to make it lighter and keep only libmysql target.
https://github.com/mysql/mysql-server - Take latest mysql server and hunterize it as it is so we can have MySQL::client and MySQL::server target. Maybe just do a cleanup to make it lighter.
Let me know your thoughts
from hunter.
The connector doesn’t seem that useful in hunter if it requires the server to be installed anyway. Updating to 6.1.11 doesn’t seem worthwhile if it doesn’t meet your needs as it doesn’t look like it is maintained. Seems like the last two options would be best.
from hunter.
Related Issues (20)
- /usr/bin/ld: /home/sahoo/.hunter/_Base/cb0ea1f/a3a48bb/b64ffe3/Install/lib/libz.a(zutil.c.o): relocation R_X86_64_PC32 against symbol `z_errmsg' can not be used when making a shared object; recompile with -fPIC HOT 12
- unittest hunter_setup_msvc fails because of ARM64 change HOT 9
- reeenable cmake hunter unittests to run in CI
- Doc - First step points to ruslo/hunter/wiki which does not exist HOT 1
- Missing OpenSSL 3.x IMPORTED Targets Crypto and SSL HOT 2
- cmake has now deprecated support for versions prior to 3.5 HOT 5
- hunter_protected_sources doesn't seem to be working with custom packages
- Update "imgui" package HOT 2
- OpenCV force push access rights HOT 1
- GitHub Actions macos-10.15 runner deprecated and removed by 2022-08-30
- OpenSSL v3+ version number not reporting correctly in CMake
- MingW builds broken in CI
- Add glog v0.6.0 version
- Should Hunter Boost move to USE_CONFIG_FROM_BOOST ON as default? HOT 1
- CMake Dependency Providers
- cmake 3.28 breaks universal 2 hunter builds with Xcode generator HOT 2
- freetype package causes error with CMake 3.28 HOT 2
- Update thrift version to latest
- Update curl to 8.5.0 HOT 6
- Update ZLIB to v1.3.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hunter.