Some times toy need to verify the Mysql port on Command Line. The best way to check is that through show Variable command.

mysql> show variables like 'port';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| port          | 3306  |
+---------------+-------+
1 row in set (0.02 sec)

Post By Editor (2,827 Posts)

Website: →

Connect