If there is no such option, mysql does not select a default database. To specify the ... This occurs even if a --port or -P option is given to specify a port number.
dev.mysql.com