Bug #107013 Can't get mySQL Connector C to set up

Submitted: 13 Apr 2022 14:21 Modified: 15 Apr 2022 2:32
Reporter: Igor Korot Email Updates:
Status: Unsupported Impact on me:
None 
Category:Connector / C Severity:S1 (Critical)
Version:8.0 OS:Windows
Assigned to: CPU Architecture:x86

[13 Apr 2022 14:21] Igor Korot
Description:
It seems the download of mySQL Connector C source code is no longer available.

And so I tried to download an MSI package.

However it seems that the installer is not able to either install or upgrade this connector. The available options are MySQL Workbench and Connector/ODBC.

Is it possible to provide the source archive again for download again?

I have version 5.x here on Windows/Mac but the 8.0 on *nix and they are incompatible.

How to repeat:
Download MSI installer for MySQL Connector C.
Try to execute it and no such option will be available.

Suggested fix:
Put the connector source code archive for download just like for version 5.x
[14 Apr 2022 4:08] Igor Korot
According to https://dev.mysql.com/doc/c-api/8.0/en/,

[quote]
The C API code is distributed with MySQL and implemented in the libmysqlclient library. 
[/quote].

However the documentation does not explain how to build just the connector.

Or I read that quote wrong and the package is really not available?
[14 Apr 2022 12:00] MySQL Verification Team
Hello Igor Korot,

Thank you for the bug report.
Support for Connector/C is discontinued, please use either C API or Connector/C++.

Regards,
Ashwini Patil
[14 Apr 2022 13:42] Igor Korot
Hello, Ashwini,

Where can I get it? And how can I build it?

I am talking about C AP here.

Thank you.
[14 Apr 2022 13:54] Igor Korot
I also have the same problem on OSX.

In the past I followed the build instructions for Connector/C to build it on all 3 major platforms. But now source code is not available and there is no way to build the library.

The reason - I need Debug version of C API (formerly Connector/C) to use while developing...

Thank you.
[15 Apr 2022 2:32] Igor Korot
Re-opening because there is still no solution to the issue.

There should either be a way to get the source code of whatever it is called now and build according to instructions or a way to download Debug/Release builds for Windows/OSX.

Thank you.

Also, it looks like I can't re-oopen the bug - it says "Status of this bug can no longer be changed. If you want the bug reopened, please give your reasons below with a comment." However I think I did just that.
[12 Jul 2022 15:44] Frederic Descamps
To compile MySQL C API "only" you can follow the process explained on https://lefred.be/content/how-to-build-mysql-8-0-c-api-libmysqlclient/

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.