GET_DATABASE_PORT¶

Applies to: MYSQLFlex PGFlex

This command returns the TCP/IP port used to connect to the server.

Syntax

GET_DATABASE_PORT of {MYSQL/PGSQL} to {variable}

Parameter

Description

variable

Variable to hold the TCP/IP port number

Example

GET_DATABASE_PORT of MYSQL to iPort