[Interest] Database in LINUX application in windows

Yves Bailly yves.bailly at sescoi.fr
Wed Feb 15 15:16:52 CET 2012


Le 15/02/2012 14:34, Sujan Dasmahapatra a écrit :
> Can we have a database (MySQL) which is in LINUX and my Qt application is running in windows, can we
> fetch the data from that database ? I can have my application cross-platform in LINUX and work. But
> if my user likes to work in windows and communicate with some database inLINUX, is it possible. I
> thinking of using ftp for this. Is this the right solution. ? Thanks for any help or suggestions.

Of course you can, as MySQL is a server process. Don't use FTP for this though, it's a
protocol to transfer *files*, not database records. See the QSqlDatabase class and related
classes and examples.

Regards,

-- 
      /- Yves Bailly - Software developper  -\
      \- Sescoi R&D  - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."



More information about the Interest mailing list