GET_DATABASE_PORT¶

Applies to: MYSQLFlex PGFlex MariaDB

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

Syntax

GET_DATABASE_PORT of {constant} to {variable}

Parameter

Description

constant

{MYSQL/PGSQL/MARIADB}

variable

Variable to hold the TCP/IP port number

Example

GET_DATABASE_PORT of MYSQL to iPort