first step:
Visit the official website: https: //www.mysql.com
Enter, click on the bottom DOWNLOADS -> Community-> MySQL Community Server download dgm file, choose not to log in directly download, download installation routine, set your own mysql Password Remember me
Please read the detailed analytical point I mysql tutorial