PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → MySQL and Port
MySQL and Port
Iniciado por guest, 27,abr. 2015 11:05 - 2 respuestas
Publicado el 27,abril 2015 - 11:05
Hallo,

it is possible to change the port with SQLConnect(..) ? Dont find anything in the help. Only find something with hOpenConnection(...). Connect to MySQL with port 3306 = no problem. If I change the port in MySQL to 3308 = no connection.
Publicado el 27,abril 2015 - 11:23
Hi Christoph

yes it is... in the last parameter (extended information), use something looking like this:
"Server Port=3306;"

But why use sqlconnect when there is a free native access available that allows you to use hchangeconnection and all the regular hxxxx commands?

Best regards
Publicado el 27,abril 2015 - 13:29
Thank you Fabrice,

it was my error - I forgot an empty parameter by sqlconnect(). Now it works.