PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WM 20] Fetch data from MySql DB
[WM 20] Fetch data from MySql DB
Iniciado por guest, 24,may. 2016 15:50 - 3 respuestas
Publicado el 24,mayo 2016 - 15:50
Good morning, I'm trying to connect to a mysql database with windev mobile, but there is no native access for it and de php4WM library isn't compatible with WM 20. How can I accomplish this??
Publicado el 24,mayo 2016 - 20:20
Hi Luis,

AFAIK, there is no direct access to mysql available for mobile.
So, if you are connecting via a webservice, then the mysql client DB must be installed in the same directory than the DLL of said webservice (the "declared in path" thingy seems to be NOT working very often).

Best regards
Publicado el 24,mayo 2016 - 20:25
Hi

You need to create a webservice (can be done in windev=soap ou
webdew/awp=rest), install it somewhere it can access the DB, and call it
from the mobile

or you can use a replication based system, if you do not want or cannot
always have a real time access (like my wxreplication)

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on http://www.fabriceharari.com
Publicado el 24,mayo 2016 - 20:46
Quote
Fabrice Harari

Hi Luis,



AFAIK, there is no direct access to mysql available for mobile.

So, if you are connecting via a webservice, then the mysql client DB must be installed in the same directory than the DLL of said webservice (the "declared in path" thingy seems to be NOT working very often).



Best regards
Thanks Fabrice! It worked! :)