Home  >  Article  >  Database  >  Where are mysql files stored? How to check the path?

Where are mysql files stored? How to check the path?

青灯夜游
青灯夜游Original
2020-10-06 07:49:198118browse

Mysql files are stored in the data folder of the mysql installation directory; how to view the file storage path: 1. Open the cmd command window and enter mysql; 2. Enter "show global variables like "�tadir%"; ” command to display the storage path.

Where are mysql files stored? How to check the path?

The directory where mysql files are stored

The first step is to open cmd and enter mysql :

mysql -u root -p

Then enter the password

Then enter the following command

show global variables like "%datadir%";

Recommended Tutorial: mysql video tutorial

The above is the detailed content of Where are mysql files stored? How to check the path?. 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