[Qt-interest] Can connect to to mysql server with Linux Qt app, but not with identical app on Windows

Robert Wood robert.wood at apostrophe.co.uk
Tue Oct 25 13:09:01 CEST 2011


Folks,

I have written several apps on Linux to connect to a mysql server (the 
server is also running Linux). I have been asked to write a program for 
Windows that recalls data written to a database by a Linux machine.

I am trying to connect to the database from a Qt app, but it is refusing 
access. If I boot into Linux (I have a dual boot laptop that I am 
writing this software on), then I connect to the database from Qt and 
the command line no problem (proving it's not an IP address rights 
issue). Booting into Windows and running exactly the same app with Qt 
from exactly the same place on the disk it refuses to connect.

Is there something else I need to install on Windows that might be 
installed as default on Linux to be able to access mysql databases? Do I 
maybe need to install mysql itself on Windows? I had assumed that 
everything would be in Qt from the client perspective, but maybe that's 
a false assumption!

Many thanks.



More information about the Qt-interest-old mailing list