Home > Database > Mysql Tutorial > body text

How to check the installation path of mysql?

青灯夜游
Release: 2019-05-23 18:55:13
Original
17120 people have browsed it

Sometimes during our development process, we inevitably need to check the installation paths of some installation tools. However, with so many tools installed, we inevitably forget the specific location of the installation. For example, where is mysq installed? The following article will introduce you to the method of checking the mysql installation path. I hope it will be helpful to you.

How to check the installation path of mysql?

How to check the installation path of mysql:

1. Use the mysql tool to pass mysql directory to view the installation path of mysql

The sql client used is: SQLyog, enter the following command:

select @@basedir as basePath from dual
Copy after login

Output:

How to check the installation path of mysql?

2. Use the MySQL command line

1. Enter the password to log in

2. Enter the following command:

show variables like "%char%";
Copy after login

How to check the installation path of mysql?

The above is the detailed content of How to check the installation path of mysql?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!