Home>Article>Operation and Maintenance> Linux checks where the database is installed

Linux checks where the database is installed

王林
王林 Original
2020-02-15 13:31:53 5487browse

Linux checks where the database is installed

To check where the database is installed, you only need to check the installation path of the database, as follows:

First enter in the terminal:

whereis mysql

(Online learning video sharing:linux video tutorial)

If you have installed mysql, the address of the file installation will be displayed, for example, here:

root@ubuntu:/# whereis mysql mysql: /usr/bin/mysql /usr/bin/X11/mysql /usr/local/mysql

Recommended related articles and tutorials:linux tutorial

The above is the detailed content of Linux checks where the database is installed. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn