Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WINE Applications not talking to MyODBC

Posted on 2008-06-20
2
Medium Priority
?
2,085 Views
Last Modified: 2008-07-08
I am running a native Windows application through WINE, and it needs a MySQL database.   Unfortunately for some reason, it cannot connect.  

-I have installed MySQL in Linux, and have verified the connection is good through MyODBC.
-Thinking it may be an application issue, I have installed SQLyog in WINE, and it cannot connect either to the ODBC running in Linux.
-I have installed ODBC in WINE and tried to use the Windows versions of MyODBC and ODBC, neither of which connected to the database either.
-I have hooked the UnixODBC library to the built-in odbc32.dll in winecfg.
-I have duplicated the ODBC.INI registry key and all of its contents from a working Windows machine to the WINE registry.

So assuming that all WINE applications are giving me a connection error being unable to communicate to MyODBC, how do I resolve this issue?

Thanks for any help you might have.

-D
0
Comment
Question by:alikaz3
2 Comments
 
LVL 29

Expert Comment

by:fibo
ID: 21840869
I think I rememebr that WINE runs in ts own virtual space, right? If this is the case, maybe it is not seeing MySQL server in that space and you need to make a genuine network connection from wine to your server...
0
 
LVL 12

Accepted Solution

by:
alikaz3 earned 0 total points
ID: 21899689
The issue was due to a misconfiguration in the file: /var/lib/mysql.soc that was overlooked. Thank you for your response fibo.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 2 hours left to enroll

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question