Home > Database > Mysql Tutorial > body text

Where are mysql documents stored?

王林
Release: 2020-09-27 14:24:23
Original
5825 people have browsed it

Mysql documents are stored in the data folder under the mysql installation directory. You can view it by executing the [show global variables like "�tadir%"] command.

Where are mysql documents stored?

If MySQL uses the MyISAM storage engine, the database file types include .frm, .MYD, and .MYI. The default storage location is C:\Documentsand Settings\All Users\Application Data\MySQL\MySQL Server 5.1\data.

(Recommended tutorial: mysql video tutorial)

If MySQL uses the InnoDB storage engine, the database file types include .frm, ibdata1, and .ibd, and there are two storage locations indivual. The default storage location of .frm files is C:\Documents and Settings\All Users\ApplicationData\MySQL\MySQL Server 5.1\data, and the default storage location of ibdata1 and .ibd files is the data folder in the MySQL installation directory.

You can view it by executing the following command:

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

Where are mysql documents stored?

##Related recommendations:

php training

The above is the detailed content of Where are mysql documents stored?. 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