MySQL5.7 configuration instructions Windows

1. The location of the configuration file my.ini

Hidden folder: C:\ProgramData\MySQL\MySQL Server 5.7

 

2. Modify the data directory

       1. Stop the MySQL service

       2. Copy the folder [C:\ProgramData\MySQL\MySQL Server 5.7\Data] to your own path [E:\ProgramFiles\MySQL\MySQL Server 5.7\Data]

       3. Modify the configuration file my.ini [datadir=E:/ProgramFiles/MySQL/MySQL Server 5.7/Data]

       4. Restart the MYSQL service

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326449734&siteId=291194637