Solved

WINE Applications not talking to MyODBC

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

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

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

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. . .
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

615 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