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 the MySQL installation directory

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly explains the "Linux system how to view the MySQL installation directory", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Linux system how to view the MySQL installation directory" bar!

First, view the file installation path

At the terminal, enter:

Whereis mysql

Enter, if you have installed mysql, the installation address of the file will be displayed, such as my display (the installation address may be different)

Root@ubuntu: / # whereis mysql

Mysql: / usr/bin/mysql / usr/bin/X11/mysql / usr/local/mysql

Second, query the path where the running file is located (folder address)

If you only need to query the address where the file is running, you can simply use the following command (or take mysql as an example):

Which mysql

Terminal display:

Root@ubuntu: / # which mysql

/ usr/bin/mysql

Thank you for your reading, the above is the "Linux system how to view the MySQL installation directory" content, after the study of this article, I believe you on the Linux system how to view the MySQL installation directory of this problem has a deeper understanding, the specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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