In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you linux how to view the mysql installation location, I hope you will learn something after reading this article, let's discuss it together!
In linux, you can use the "whereis" command to view the installation location of mysql, which is used to find qualified files in a specific directory, simply by typing "whereis mysql" at the terminal.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
Since the software is installed in more than one place, let's first check all the paths (addresses) of the file installation.
Take mysql as an example. For example, I installed mysql, but I don't know where the files are installed or in which folders. You can check all the file paths with the following command
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 mysqlmysql: / 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 finished reading this article, I believe you have a certain understanding of "how to check the mysql installation location of linux". If you want to know more about it, welcome to follow the industry information channel, thank you for reading!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.