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!