Solved

WINE Applications not talking to MyODBC

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
EXCHANGE. LINUX, SYMANTEC MESSAGING GATEWAY 2 37
Complex SQL statement in VB.NET 7 31
Present Absent from working date rage 11 35
Inserting data into database 10 34
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Creating and Managing Databases with phpMyAdmin in cPanel.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

791 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