Solved

WINE Applications not talking to MyODBC

Posted on 2008-06-20
2
2,058 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now