How does the Linux system view MySQL ports
This article "Linux system how to view MySQL port" In addition to the program members most people do not understand, today Xiaobian in order to let everyone better understand "Linux system how to view MySQL port", to summarize the following content, has a certain reference value, the content detailed steps are clear, the details are properly handled, I hope everyone through this article has something to gain, let's take a look at the specific content together.
The first method: directly view the database configuration file
In/etc/mysql/my.cnf(Linux) or my.ini (Windows).
mysql> show variables like 'port'; +----------------+------+| Variable_name | Value | +---------------+-------+ | port | 3306 |+-------------+-----+ 1 row in set (0.00 sec) What is Linux is a free-to-use and freely distributed UNIX-like operating system, a POSIX-based multiuser, multitasking, multithreaded, and multiCPU operating system that runs major Unix utilities, applications, and network protocols.
Thank you for reading, I hope you have a certain understanding of the key issue of "how to view MySQL port in Linux system", the specific use situation also needs to be used by you to understand, try it quickly, if you want to read more articles related to knowledge points, welcome to pay attention to the industry information channel!