mysql-connector-odbc | MySQL Connector/ODBC , an ODBC driver | Database library
kandi X-RAY | mysql-connector-odbc Summary
kandi X-RAY | mysql-connector-odbc Summary
You can get the latest stable release from the MySQL downloads. For detailed information please visit the official MySQL Connector/ODBC documentation. Source packages are available from our github releases page.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mysql-connector-odbc
mysql-connector-odbc Key Features
mysql-connector-odbc Examples and Code Snippets
Community Discussions
Trending Discussions on mysql-connector-odbc
QUESTION
sorry to be such a newb, but I'm building a mySQL driver from source, and it needs to include mysql.h, but the compiler reports an error. The includes in FindMYSQL.cmake seem ok, so I'm guessing that CMake is missing the most basic pointer from its CMake Settings. I've tried a couple of paths in the json but no luck - I don't really know what I'm trying to point it to? I'm struggling to come to terms with c++ at the moment, so any assistance appreciated.
...ANSWER
Answered 2020-May-27 at 10:50I was able to recreate the problem and fix it by installing MySQL Server, which added the missing include paths and environmental arguments. However, to fix this problem specifically:
Remove the “/mysql-8.0“ from your defined path.
Call CMake with the following -D option:
cmake -DMYSQL_INCLUDE_DIR=‘C:\Program Files\MySql\mysql server 8.0\include‘
The -D command line option defines a CMake constant with a given value if needed.
QUESTION
There is a Linux MySQL DB we have connect to. This works fine on Windows 7 computers. Now there is Window 10 an no connection anymore. (Windows XP worked so too)
Server version: 5.1.73-1 (Debian)
I used the same parameters as on the Windows 7 machines. (ODBC driver 5.1, 32Bit - "mysql-connector-odbc-noinstall-5.1.13-win32")
- The same driver (I tried version 5.3 32Bit too)
- The same user and password
- the machines are in the same network
The error is "Malformed package".
Connecting a Windows DB works.
(The machine may not have an Internet connection.)
Error Messages:
MySQL ODBC 5.1 Driver
Connection Failed: [HY000][MySQL][ODBC 5.1 Driver]Connection using old(pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)
Altough ist an old server I tried newer drivers:
MySQL 5.3 ANSI Driver
ConnectionFailed
[MySql][ODBC 5.3(a) Driver]Malformed packet:
MySQL 5.3 Unicode Driver
ConnectionFailed
[MySQL][ODBC 5.3(w) Driver]Malformed packet:
MySQL 8.0 ANSI Driver
ConnectionFailed
[MySQL][ODBC 8.0(a) Driver]Bad handshake:
MySQL 8.0 Unicode Driver
...ConnectionFailed
[MySQL][ODBC 8.0(w) Driver]Bad handshake:
ANSWER
Answered 2018-Dec-10 at 09:27It's a driver problem: 5.1.13 does not work, 5.1.12 is needed! Then it works.
Download link:
mysql-connector-odbc-5.1.12-win32.msi
https://dev.mysql.com/downloads/file/?id=411741
see
MySQL ODBC Link Fails due to "authentication protocol refused"
QUESTION
I'm trying to install this mysql odbc connector on my macOS High Sierra machine, but I get this error:
I tried installing it using installer
in the hopes of getting information about what went wrong:
ANSWER
Answered 2017-Nov-24 at 10:28I just noticed this: on this page: https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-installation-binary-osx.html
After installing iODBC (http://www.iodbc.org/dataspace/doc/iodbc/wiki/iodbcWiki/Downloads) it was able to install the connector.
QUESTION
I need Mysql-connector-odbc library to include in my project without any need to GUI. But when I use cmake to configure and then make library, I get error that I have not any gtk or gtk.h installed on my system like this:
ANSWER
Answered 2017-Feb-22 at 07:52After reading some of CMakefiles and Readme files inside the library, I got that the simplest way to disable gui in mysql odbc is using of cmake parameters.
For this, you can just add DISABLE_GUI and set it to 1. So you disallow Cmake to make GUI and other related library depend on gtk.h header file.
You can see a simple Cmake command to do this:
cmake -DDISABLE_GUI=1
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mysql-connector-odbc
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page