SET_DATABASE_PORT¶

Applies to: MYSQLFlex PGFlex

This command is used to dynamically change the port number to use for all TCP/IP connections to the server. Note that the port is used for the current session only.

Syntax

SET_DATABASE_PORT of {constant} to {variable}

Parameter

Description

constant

MYSQL or PGSQL

variable

Port number to use to connect to server

Example

GET_DATABASE_PORT of MYSQL to 1433