MySQL database storage location: 1. If MySQL uses the MyISAM storage engine, the database file types include .frm, .MYD, and .MYI. The default storage location is
2. If MySQL uses the InnoDB storage engine, the database file types include .frm, ibdata1, and .ibd, and there are two storage locations. The default location for .frm files is
The default location for the file is the data folder under the MySQL installation directory. Knowledge point expansion: How to view the storage location of MySQL data files We may have a question: After we install MySQL locally (on our own computer), we create many databases and tables and store a lot of data, but where are these contents stored? In particular, when we need to directly operate these data files, we search the entire computer but cannot find where the MySQL data files are. This is a bit annoying! Here, I will teach you a very simple method to immediately locate the storage location of MySQL data files, that is, type the following command in the MySQL client:
MySQL data files are stored in the Data directory. As for whether you want to check a specific database or table next, it depends on your mood! However, you may still have a question. We have found that the MySQL data files are in the ProgramData directory of the C drive, but we have searched the entire C drive but still cannot find the ProgramData folder. Why is that? The answer is: by default, the ProgramData folder is hidden. As for how to display hidden folders, I believe everyone has already done it well! This is the end of this article about where MySQL data is stored. For more information about where MySQL data is stored, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: JavaScript file loading and blocking issues: performance optimization case study
>>: Comparison between Redis and Memcache and how to choose
I'm very happy. When encountering this proble...
Solving the problem Bootstrap is a CSS framework ...
1. Installation 1. Download Go to the MySQL offic...
To deploy war with Docker, you must use a contain...
1. Introduction Is it considered rehashing old st...
This article describes the usage of MySQL stored ...
This article mainly records the problems and solu...
Table of contents 1. Achieve results 2. Backend i...
MySQL 8.0.22 download, installation and configura...
As the first article of this study note, we will ...
1. Download mysql-8.0.17-winx64 from the official...
Table of contents Preface: 1. Understand lock wai...
First run the docker container Run the command as...
Here we only focus on the installation and use of...
1. What is SQL injection? Sql injection is an att...