Code: Select all
SQLSTATE = IM002 [unixODBC][Driver Manager]Data source name not found, and no default driver specified
Code: Select all
SQLSTATE = IM002 [unixODBC][Driver Manager]Data source name not found, and no default driver specified
Hiya Titan91,Titan91 wrote:Any ideas?
Code: Select all
export WINEDEBUG=+odbc32
wine <something.exe> &>console_log.txt
Thanks for the tip Bob. No, I am not sure how to check that, from what I can gather on Google I need to have the ODBC driver installed before installing unixODBC. I'm on Linux Mint 18 MATE x64, forgot to mention that earlier. I am assuming the ODBC driver is installed but not unixODBC. From this site, where do I need to extract the files to? Or do I need to install it a different way to use it with WINE?Bob Wya wrote:Hiya Titan91,Titan91 wrote:Any ideas?
Can you re-test your application in a clean 32-bit Wineprefix (if you are using a 64-bit distribution) - once you've checked your unixODBC installation?
- What Linux distribution are you using?
- Have you checked if you have the full unixODBC multilib package installed - if you are using a 64-bit distribution (typical these days)?
I think that's an optional wine package dependency for Ubuntu...
See WineHQ FAQ: WineHQ FAQ: 6.5.3 How do I create a 32 bit wineprefix on a 64 bit system?
Then you'd want to launch your Windows application with:Then post the console log inline (here - in a forum reply).Code: Select all
export WINEDEBUG=+odbc32 wine <something.exe> &>console_log.txt
See WineHQ FAQ: 10.1.1 How can I get a debugging log (a.k.a. terminal output)?
Ta
Bob
You need to install the base unixodbc package, an odbc driver package and a database. On Gentoo that might be:Titan91 wrote: Thanks for the tip Bob. No, I am not sure how to check that, from what I can gather on Google I need to have the ODBC driver installed before installing unixODBC. I'm on Linux Mint 18 MATE x64, forgot to mention that earlier. I am assuming the ODBC driver is installed but not unixODBC. From this site, where do I need to extract the files to? Or do I need to install it a different way to use it with WINE?
http://www.unixodbc.org/
Code: Select all
* dev-db/unixODBC
Latest version available: 2.3.2-r1
Latest version installed: 2.3.2-r1
Size of files: 1,806 KiB
Homepage: http://www.unixodbc.org/
Description: A complete ODBC driver manager
License: GPL-2 LGPL-2.1
* dev-db/myodbc
Latest version available: 5.2.7-r1
Latest version installed: [ Not Installed ]
Size of files: 593 KiB
Homepage: http://www.mysql.com/products/myodbc/
Description: ODBC driver for MySQL
License: GPL-2
* dev-db/mariadb
Latest version available: 10.1.20
Latest version installed: [ Not Installed ]
Size of files: 60,171 KiB
Homepage: http://mariadb.org/
Description: An enhanced, drop-in replacement for MySQL
License: GPL-2