Navicat data storage location and backup database path settings

Source: Internet
Author: User

Where is the storage location of the Navicat database? With such doubt, we go to solve the problem, Navicat is the default installation, MySQL is also the default installation, the database exists under the default User directory.

When installing MySQL, select the "Custom" installation method. When you choose the installation directory, you can select the location where the data is placed, and many people just set up the MySQL installation location.

For users who are already installed, open the "My.ini" file in the MySQL installation directory, use the Find function, enter "DataDir" to locate, you will see the default data storage location is usually: "System disk: \documents and Settings\All Users\Application Data\mysql\ ... " At this point, you can modify the location of "DataDir" and then copy all the data from the original location to the new location. Specific steps:

1, open the Task Manager, stop the "mysqld.exe" service process;
2. Copy all the data from the original data storage directory to the storage location you specified;
3, modify "DataDir" point to the new location < tip: "DataDir" point to the path, please use "/" instead of the usual "\" >;
4. Start the MySQL service using the command line <cmdline:net start mysql>;

Navica database file in C:\Documents and Settings\All Users\Application Data\mysql\mysql Server 5.1\data

By default, the application Data folder is a hidden property, so that it can be displayed to see the files under it. How to: Tools--Folder Options--View---Hidden files and folders below the show all files and folders. This will enable you to see the database files.

MySQL has a lot of GUI tools, the common Navicat default to the path of the backup file is (the current user) "My Documents" in the "Navicat\mysql\servers\ Service name" directory. To prevent the data from being lost after reloading the system, you can modify it as follows:

start "Navicat", select the current service and right-click, in the right-click menu select "Connection Properties" (such as prompt to close the current server connection, select Yes), and then in the Open dialog box "advanced" tab to set the new data backup path

Navicat data storage location and backup database path settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.