Download Odbc Driver 17 For Mysql

0 views
Skip to first unread message

Adele Morss

unread,
Jan 25, 2024, 3:24:46 AM1/25/24
to pastchesojung
ERROR [42000] [MySQL][ODBC 8.0(w) Driver][mysqld-5.7.23]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near "TABLENAME" at line 1 (myodbc8w.dll).
download odbc driver 17 for mysql
I then discovered when trying to connect Access to mySQL that my installation of Office is actually 32-bit so the driver doesn't work. So I removed the 64-bit ODBC driver and installed the 32-bit one.
Problem is, when I go into control-panel -> Administrative Tools -> Data Sources (ODBC) and try to add a new data source, the only options for the mySQL drivers seem to point to the old directory where the 64-bit drivers were. It then fails as it can't find the dlls with system error 126.
Prior to installing the ODBC MySQL driver 5.2.6 you need to install the Microsoft Visual C++ 2010 Redistributable Package for x64 or x86 or both (just search the Microsoft site for these and download from there). Other driver versions may require different versions of this MS VC++ Redist. Package, which can coexist side by side. By default server 2008 R2 comes with the 2008 version, so installing the 2010 is required. Before installing check in Programs and Features if not already installed. Depending on you application it may require the 32 bit or the 64 bit version. Without it you get the system error 126
I am presently working on a MySQL database. Trying to connect remotely to the server from my client computer using LabVIEW 18. I have tried many configurations along the way, however my UDL won't connect itself to the MySQL server and it's subsequent databases. I have made sure to install or update anything that may cause an architecture mismatch(ODBC drivers, Visual Studio, etc.), which I had hoped would be the answer, but woefully it is not. Any help to get this moving in an appropriate direction would be greatly appreciated.
I have done this exact thing previously but as RolfK suggested being aware of the variance between 32 and 64 bit odbc sources. I followed your instructions to the letter except using the 32 bit odbc, because I am running 32 bit LV as well as 32 bit Data Connectivity Toolkit. I was able to create the system DSN with a successful connection, although I had to create a new user name on my server side, because for whatever reason the access was denied to my previous login, even though all the same permissions are granted. Still however, the issues persist. When creating the UDL to put into the path for the data connect open in my VI. I select my newly created system DSN from the data source list, enter my credentials and receive the error.... "Test Connection failed because of an error in initializing provider. Catastrophic failure"
MySQL is now maintained (owned?) by Oracle, and Microsoft never supported MySQL and now will even less likely. Rather the hell is freezing over first. In the past I always simply setup a connection in the ODBC Admin (right bitness) and then collected the settings from the registry entry and directly passed a connection string with those settings to the ODBC interface. I'm using my own ODBC driver usually, but that should also just work for the Database Toolkit.
If you have a configured DSN Name you can also just pass that name to the DB Tools Open Connec (String).vi but if you work with a fixed driver and database setup I usually prefer to hardcode those settings in the LabVIEW code and avoid having people to edit ODBC DSN entries.
You can try to edit this file C:\Windows\System32\drivers\etc\hosts in which are stored all local DNS records. Also please check what is the answer of the current DNS server Windows uses, looks like it has a PTR record somewhere.
I have tried this one also, but i still have an unstable app. I still getting
the error's stated above. I have been running on MySQL connector 3.51.12
and i today installed the latest ODBC driver 3.51.13 with the same results...
Have you been able to check out the files i sent yesterday ?
(db, asp's and project files.....)
reg,
An error message from Data Direct ODBC drivers for MySQL is shown when trying to connect to MySQL Community Servers database using DataStage ODBC enterprise stage or trying to import the table definition from the same database.IBM Information...
I had tried installing the mysql-connector-odbc_8.0.22-1ubuntu18.04_amd64.deb package and it had complained about not finding the mysql-community-client-plugins package. I tried a few variations of apt-cache search mysql-community-client-plugins to locate this additional package but nothing came up.
Downgrade to an earlier MySQL driver version (pre 5.3.11).
Use the generic ODBC connector from Tableau, and connect using the MySQL ANSI driver, instead of the default Unicode driver (please note that connections using the generic ODBC connector are not supported and may result in limited functionality).
This completes the steps to create a DSN and configure an ODBC driver for MySQL. To create a database instance and database connection, see Creating a database instance and Creating a database connection.
Nothing you've said clearly indicates whether you're using the 32-bit or 64-bit ODBC Administrator, nor whether you instlaled the 32-bit or 64-bit MyODBC driver, but this is almost certainly the root of your problem. Note that both the 32-bit and 64-bit program are named the same, odbcad32.exe. The difference is in their counterintuitive directory location -- System32 (for 64-bit components) and SysWow64 (for 32-bit components).
FileMaker Pro is great for creating great looking reports, and now you can use it withdata from your MySQL, PostgreSQL or SQLite database. You can also harness the full power ofExcel's built-in support for ODBC database queries to create pivot tables and chartsand graphs from your data.
See our list of featured compatible applications for othercommon programs you can use with our drivers.
In addition to local databases, the driver now supports cloud-based solutions. Amazon Relational Database Service (RDS) providesa fast and easy way to configure MySQL and Postgres databases in the cloud. Google Cloud SQL is a MySQL database that is hosted withinGoogle's massive hosting environment. And Amazon Redshift is a massively parallel data warehouse base on PostgreSQL. The Actual Technologies ODBC driver makes it easy to connect to these great cloud-based databases in just a few clicks.
Apple's CoreData technology is built on top of SQLite, so many of your favorite applications useSQLite databases to store information. You can use this driver to access that information usingan ODBC-enabled application such as FileMaker. For example, you can import your Safari RSS articlesinto an Excel spreadsheet, or import your Mail data into FileMaker. See our partial list of applicationsusing a SQLite database.
Like CoreData, Xojo's built-in database is also based on SQLite. If you develop software withXojo, you can give your users the ability to generate reports using Excel and FileMaker from thedata stored in your database.
Download and evaluate our driver today. You will be able to install the driver, set up a connection, and retrieve data* from your database using Excel or FileMaker. You will also have access to our on-line help and technical support.
Since your ODBC connection is failing, you need to look at your odbc config extremely carefully and ensure that all of your required dependencies are installed for a successful Mysql/ODBC connection. The full list of ODBC DSN settings for the mysql odbc connector can be found here:
-odbc/en/connector-odbc-configuration-connection-parameters.html
Going in circles on this. Have been successful developing with QV11SR1 on a Win7x64 desktop using the same MySQL 5.5 external database and connecting to it using 64 bit MySQL 5.1 ODBC driver v 5.01.11.00 28/04/2012 for the past 6 months.
I have now uninstalled the ODBC drivers, downladed the latest ones from Oracle (still the same version #) rebooted, Uninstalled Qlikview desktop, removed everything QV related I could find in registry. Reinstalled everything. Removed the system DSNs and recreated from scratch. Tried a user DSN. Installed 32 bit version of ODBC drivers and used force use 32 bit in QV. Tried connecting to a different MYSQL 5.5 database on localhost.
When something very similar to this happened to me, it was due to lack of permissions in the user that is set up in the ODBC drivers, in some cases because of database upgrades or cleanups. Is there any chance that this is happening to you as well?
I'm not aware of there being other MySQL drivers installed - they are not visible in the create new DSN list at least. I have installed both 32 and 64 bit right now (although last week I didnt - only 64 bit then) and the same issue exhibits with both.
Thanks for your input. I think I know what you mean by the link you provided (for some reason when I try go there it tells me I need admin access to see it). Anyway I came across postings from 2009 mentioning something similar in the forums and the workaround was to use the 3.5x drivers. I thought given the time that has elapsed since then that surely such an issue had been fixed in the current GA release of the MySQL ODBC drivers 3 years on and also with 1-2 versions later of QV as well.
Also in my case I know that I'd been developing just fine using the v5 MySQL ODBC drivers for the past 6 months so it was something on the combo of QV, Win7 and the drivers that had gone wrong but where.
Anyway for me, I realise MySQL ODBC x64 driver 5.2 is a beta but if its working (and seemingly a little faster than I recall the previous version to be) I'm sticking with it so I can get onto more productive things and will only worry about this again if something stops working. I see below v3.51 is mentioned but I only have v5.21 installed so who knows.
I am really confused by this architecture diagram ... anyway I tried to move on so I installed the ODBC drivers for Linux RH from -us/download/confirmation.aspx?id=36437# and I installed them on my company server machine .
f5d0e4f075
Reply all
Reply to author
Forward
0 new messages