Index: wp-config-sample.php
===================================================================
--- wp-config-sample.php	(revision 60707)
+++ wp-config-sample.php	(working copy)
@@ -28,7 +28,17 @@
 /** Database password */
 define( 'DB_PASSWORD', 'password_here' );
 
-/** Database hostname */
+/**
+ * Database hostname.
+ *
+ * You can use a hostname, and optionally append a TCP port and/or a Unix socket path.
+ * General form: hostname[:port][:/path/to/socket]
+ *
+ * Examples: '127.0.0.1', '127.0.0.1:3307', 'localhost:/tmp/mysql.sock',
+ * '127.0.0.1:3307:/var/run/mysqld/mysqld.sock'. IPv6 addresses use brackets, e.g. '[::1]:3306'.
+ *
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
+ */
 define( 'DB_HOST', 'localhost' );
 
 /** Database charset to use in creating database tables. */
