I’m using MySQL 8.0 in Windows.
I’m trying to set up multiple servers. And I need to copy the Data directory for it. The MySQL documentation says
Windows MSI package installers create and set up the data directory
that the installed server will use, but also create a pristine
“template” data directory named data under the installation directory.
After an installation has been performed using an MSI package, the
template data directory can be copied to set up additional MySQL
It says there is a pristine data directory that is not touched. But my Data directories are already modified because I used it quite a long time. I need to copy the Data directory to make new server.
Where do I find the pristine Data directory?
For anyone met the same problem as me, I couldn't find the pristine Data directory. I looked everywhere but I couldn't. So I reinstalled the new copy on my second computer. And copy the Data folder from it. Now, my multiple servers work without any problem in one machine.
Answered by hbadger19042 on November 21, 2021
1 Asked on August 13, 2020 by gio
1 Asked on August 12, 2020 by g-iannello
1 Asked on August 3, 2020 by shr
Get help from others!