Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does the Linux system view MySQL ports

2025-02-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report