MySQL dump issues caused by the port number

Hello team,

I’m using a plugin for backup/restore of WordPress data and I noticed that there are some warnings caused by the port number that is attached to the DB host.

WARNING: Unkown MySQL server host global-db:3306

/** MySQL hostname */
define( ‘DB_HOST’, ‘global-db:3306’ );

Does anyone know any solution to not use the port number all the time in the wp-config? DB port 3306 is the default MySQL port number and I’m not sure if we should add it.

Thanks,
Alex