---restore content starts---
Select ubuntu18.04 in the WIN10 store
http://dev.mysql.com/downloads/mysql/
wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-boost-5.7.23.tar.gz
TAR-ZVXF mysql-boost-5.7.23.tar.gz
CD mysql-5.7.23
sudo apt-get install cmake-y
sudo apt-get install gcc g++-y
Apt-get Install Git-y
Apt-get Install LIBNCURSES5 libncurses5-dev-y
sudo apt-get install-y build-essential
sudo apt-get install Flex bison-y
Install boost 1.59 https://sourceforge.net/projects/boost/
wget https://nchc.dl.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.gz
The download process is a bit slow
sudo cmake-dcmake_install_prefix=/usr/local/mysql-dmysql_datadir=/usr/local/mysql/data-dsysconfdir=/etc-dwith_ Myisam_storage_engine=1-dwith_innobase_storage_engine=1-dwith_memory_storage_engine=1-dwith_readline=1-dmysql_ Unix_addr=/var/lib/mysql/mysql.sock-dmysql_tcp_port=3306-denabled_local_infile=1-dwith_partition_storage_ Engine=1-dextra_charsets=all-ddefault_charset=utf8-ddefault_collation=utf8_general_ci-denable_downloads=1
If an error occurs, you need to delete the CMakeCache.txt file when compiling again
WIN10 subsystem WSL compile and install MySQL5.7