| Bug #74706 | Can't build Connector/ODBC 5.3.4 for mysql 5.5 | ||
|---|---|---|---|
| Submitted: | 6 Nov 2014 8:01 | Modified: | 15 Dec 2014 8:29 |
| Reporter: | Pavel Timofeev | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
| Version: | 5.3.4 | OS: | FreeBSD (10.0 amd64) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | build, freebsd, mysql-5.5, ODBC | ||
[6 Nov 2014 11:02]
Pavel Timofeev
Forgot to say, I used unixODBC-2.3.2
[15 Dec 2014 8:29]
Pavel Timofeev
Still no progress?
[19 Jul 2017 16:22]
Vadim Zeitlin
It's a bit late, but see https://github.com/mysql/mysql-connector-odbc/pull/1 for my attempt to solve this.

Description: Hi! I'm trying to build Connector/ODBC 5.3.4 for mysql5.5 and have no luck. It stops with following message: /usr/ports/databases/mysql-connector-odbc/work/mysql-connector-odbc-5.3.4-src/driver/connect.c:229:26: error: use of undeclared identifier 'MYSQL_SERVER_PUBLIC_KEY' mysql_options(mysql, MYSQL_SERVER_PUBLIC_KEY, ^ I know that I'm getting this error because MYSQL_SERVER_PUBLIC_KEY option was added in MySQL 5.6.6. and I'm using Mysql 5.5. But Mysql 5.5 didn't reach the EOL, it's still supported version. So it should work. How to repeat: Try to build Connector/ODBC 5.3.4 for mysql 5.5. That's all.