change mysql port number

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply
nizam

change mysql port number

Post by nizam » Thu 30 Dec 2004 12:38

is it possible to change mysql port number for dbexpmda? The default port is 3306, I am able to change the port number at mysql server but not able to change at client side. So I think must be able to change the port number which the client will connect to the server. As a result when I change the port to 5644 at server the client must be able to connect through this port.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Re: change mysql port number

Post by Ikar » Thu 30 Dec 2004 12:55

You can set additional parameter 'Server Port' (Delphi7 only) or specify port at the name of the server HostName = 'server:port'

Post Reply