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

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

青灯夜游
Release: 2020-10-06 07:49:19
Original
8150 people have browsed it

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
Copy after login

Then enter the password

Then enter the following command

show global variables like "%datadir%";
Copy after login

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!

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