Plesk for Windows
kb: how-to
ABT: Group A
Applicable to:
- Plesk for Windows
Question
How to change the default clients' MySQL folder to another one?
Answer
-
In the Windows Start menu, select Start > Plesk > Plesk Reconfigurator.
-
Select “Change MySQL Data location”.
-
Browse to the new desired location of the My SQL data. You can also create a new folder if necessary. We recommend that you keep the “Check destination disk space” checkbox selected.
-
When you are satisfied with the selected location, click Next, and then click Next once again.
The moving will start. Once it is completed, you will be automatically returned to the main Plesk Reconfigurator screen.
Comments
2 comments
What are the equal instructions for moving any existing MYSQL DB and create a new default MYSQL database directory on Plesk Onyx/Ubuntu?
@Christian
Changing the location for a MySQL server is not officially supported by Plesk since it can cause a lot of different issues with websites and overall Plesk performance.
As an alternative to moving the MySQL data directory to another location, consider mounting a partition from a new disk to the default MySQL data directory location /var/lib/mysql/.
Please sign in to leave a comment.