Coder Social home page Coder Social logo

Comments (2)

cyberium avatar cyberium commented on July 24, 2024

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.

bkotzz avatar bkotzz commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.