Home > Database > Mysql Tutorial > body text

How to open the location of the database file in mysql

coldplay.xixi
Release: 2020-10-19 15:27:29
Original
6709 people have browsed it

Mysql method to open the database file location: first open the mysqml folder and find the [my.ini] file; then select [Open with Notepad]; finally press [ctrl f] to search [datadir] to find it.

How to open the location of the database file in mysql

Mysql method to open the database file location:

Step 1: Open mysqml folder, the files displayed are as follows, and then find the my.ini file, as shown in the figure.

How to open the location of the database file in mysql

Step 2: Select the my.ini file, then right-click the mouse and select "Open with" and then select "Open with Notepad"

How to open the location of the database file in mysql

Step 3: After opening the my.ini file in Notepad, press ctrl f and search for "datadir" to find the physical directory of your database. Path

How to open the location of the database file in mysql

Step 4: If you want to modify the storage location of the database file, you can modify it directly here, as shown in the red box below.

How to open the location of the database file in mysql

Step 5: Follow the path found above, we open the data folder of the path above, as shown below.

How to open the location of the database file in mysql

Step 6: If you want to relocate the database, you only need to copy the "data" folder and overwrite the "data" in the new environment. File will do.

How to open the location of the database file in mysql

More related free learning recommendations: mysql tutorial(video)

The above is the detailed content of How to open the location of the database file in 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!