Determine on which Port MySQL-Servers listen

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Bernhard Geyer
Posts: 20
Joined: Fri 30 Sep 2005 14:13

Determine on which Port MySQL-Servers listen

Post by Bernhard Geyer » Wed 28 Mar 2007 16:22

Hi,

with the Help of the class-Methode TCRNetManager.GetServerList(List: TStrings) i am able to get the PC's/Servers where MySQL listening to a port.

But how to determine on which port the mysql-Server is listening? Is there also a Helper-Function that I can use?


Thanks for your help

Bernhard

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 29 Mar 2007 10:02

Bernhard Geyer wrote: But how to determine on which port the mysql-Server is listening?
We do not know a good way to determine the port number on which the MySQL server is running.
Bernhard Geyer wrote:Is there also a Helper-Function that I can use?
No, MyDAC does not have such functionality.

Post Reply