Download from official website
Step 1 : https://dev.mysql.com/downloads/installer/
---> download the version that is compatible for your pc
Step 3 -> choose the Setup Type.
Step 4 -> click on next in previous window and then execute in now .
Step 5 -> click on yes, it will install all the file that is necessary .
Step 6 -> click execute to install .
Step 7 -> click on Next .
Step 8 -> click on Next .
Step 9 -> click on first option and then Next .
Step 10 -> select the Config Type as 'Development Machine' and Connectivity as TCP/IP, and Port Number is 3306, then click on Next. .
Step 11 -> select the Authentication Method and Next. I recommend to go with the recommended option always
Step 12 -> Now choose the SQL password and then Next
Step 13 -> Now keep the setup default then Next
Step 14 -> Now execute and keep waiting for completion
Step 15 -> when all the configuration operation completed click on finish
Step 16 -> the Product Configuration is completed. Keep the default setting and click on the Next->
Step 17 -> click on next then finish and next to open new window
Step 18 -> provide the username and password that you have created in the previous window then check connection ,if the connection completed it will show the message as below then click next.
Step 19 -> click on execute to apply the configuration
Step 20 -> click on finish
Step 21 -> click on finish
Step 22 -> now Run the command Line Client of MySQL as administrator and then apply password as same you set previously.
Note : Sometime when you type password it shows with star sign or sometime it shows blank ,just type your password and press enter.
You will see the welcome message. Check by typing -----> show databases; it will return the following result.
video guidance