--port (-P)
This page is part of MariaDB's Documentation.
The parent of this page is: mariadb & mysql for MariaDB Enterprise Server
Topics on this page:
Overview
This is a command-line option for the mariadb
& mysql
commands (arg: Required).
Port number to use for connection or 0 for default to, in order of preference, my.cnf, $MYSQL_