Re: [Lazarus] TSQLConnector for MySQL non-standard port (solved)

2023-04-24 Thread Koenraad Lelong via lazarus

Thanks,

That works.

Koenraad

Op 25/04/2023 om 08:17 schreef Michael Van Canneyt via lazarus:



On Mon, 24 Apr 2023, Koenraad Lelong via lazarus wrote:


Hi,

I would like to use a non-standard port for my MySQL-connection. Is 
this possible ? If so, how ?

Standard port is 3306.
I tried to add my non-standard port to the hostname 
(:), but that does not work: 'TMySQL57Connection 
: Server connect failed.'
Sniffing the network on that port gives nothing, so there is no 
attempt to connect.
MySQLWorkbench with the same parameters works OK, so there is a server 
listening on that port.


Try this:

Params.Values['Port']:='3306'

Michael.

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] TSQLConnector for MySQL non-standard port

2023-04-24 Thread Michael Van Canneyt via lazarus




On Mon, 24 Apr 2023, Koenraad Lelong via lazarus wrote:


Hi,

I would like to use a non-standard port for my MySQL-connection. Is this 
possible ? If so, how ?

Standard port is 3306.
I tried to add my non-standard port to the hostname 
(:), but that does not work: 'TMySQL57Connection : 
Server connect failed.'
Sniffing the network on that port gives nothing, so there is no attempt to 
connect.
MySQLWorkbench with the same parameters works OK, so there is a server 
listening on that port.


Try this:

Params.Values['Port']:='3306'

Michael.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] TSQLConnector for MySQL non-standard port

2023-04-24 Thread LacaK via lazarus

Hello,
try use "Params" and put there "Port="
-Laco.


Hi,

I would like to use a non-standard port for my MySQL-connection. Is 
this possible ? If so, how ?

Standard port is 3306.
I tried to add my non-standard port to the hostname 
(:), but that does not work: 'TMySQL57Connection 
: Server connect failed.'
Sniffing the network on that port gives nothing, so there is no 
attempt to connect.
MySQLWorkbench with the same parameters works OK, so there is a server 
listening on that port.


Koenraad.


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] TSQLConnector for MySQL non-standard port

2023-04-24 Thread Koenraad Lelong via lazarus

Hi,

I would like to use a non-standard port for my MySQL-connection. Is this 
possible ? If so, how ?

Standard port is 3306.
I tried to add my non-standard port to the hostname 
(:), but that does not work: 'TMySQL57Connection : 
Server connect failed.'
Sniffing the network on that port gives nothing, so there is no attempt 
to connect.
MySQLWorkbench with the same parameters works OK, so there is a server 
listening on that port.


Koenraad.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus