Download a copy of the MYSQL 32-bit or 64-bit versions > Downloads
Install MySQL
  1. Extract the msi file from the zip file you have downloaded. Using the mouse, double-click on the 32 bit, or 64 bit, installer.
  2. Using the mouse, click the Next button.
  3. Accept the agreement. Using the mouse, click the Next button.
  4. Using the mouse, click the Complete button.
  5. Using the mouse, click the Install button.
  6. Using the mouse, click the Next button. 
  7. Using the mouse, push the Next button.
  8. Using the mouse, push the Finish button.
Configure The MySQL Service
  1. Using the mouse, select the Next Button.
  2. Select Standard Configuration. Using the mouse, select the Next Button.
  3. Select Install As A Windows Service. Select Include Bin Directory In Windows Path. Using the mouse, select the Next Button.
  4. Enter the password that you can remember.
  5. Using the mouse, select the Execute Button.
  6. Using the mouse, select the Finish Button.
  7. Let's take a moment and check the service. Open the Control Panel. Open the Administrative Tools. Using the mouse, double-click on Services. 
  8. Note that MySQL is both Automatic & Started.
  9. If you have not done so already, push the Finish Button.
Start The Database Command Line Client
  1. Start the MySQL command line client by selecting the option from the start menu.
  2. You need enter only the password.
  3. or
  4. Hold down the Start Button --> Enter cmd.
  5. Enter mysql <-- program name
  6. Enter -u <-- what comes next is user name
  7. Enter root <-- database super user
  8. Enter -p <-- what comes next is the password for this user
  9. Enter t <-- the password at the moment

  10. Enter mysql -uroot -pt .

you have done all if you are getting 1045 port no error see my video given in description


We will see how remove the port error while installing again MySQL or any software....Soo Lets go for it....
First uninstall your software or MySQL software
Then try to install your software
it will take time
here comes the connection error

Error No:1045

Lets solve it...

  1. Uninstall that software...
  2. then go to C drive
  3. then go to program files and delete the software name folder
  4. then go back and in view tab click on show hidden
  5. when you click on hidden items
  6. hidden folders will appear
  7. their program data folder will appear..
  8. enter that folder and delete that software name folder

Thats all you have to do again install that software and no error will appear...

see confguration has completed and no error appears