In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces how to view the installation location of mysql in linux, the contents of the article are carefully selected and edited by the author, with a certain pertinence, the reference significance for everyone is still relatively great, the following with the author to understand how to view the installation location of mysql in linux.
First, view the file installation path
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
(recommended video tutorials: linux video tutorials)
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
After reading the above about the installation location of mysql in linux, many readers must have some understanding. If you need to get more industry knowledge and information, you can continue to follow our industry information column.
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.