Solved

WINE Applications not talking to MyODBC

Posted on 2008-06-20
2
2,071 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

728 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