Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Database Foundations Installing MySQL Server and MySQL Workbench Installing MySQL Server and Workbench on Windows

Ashley Newton
Ashley Newton
2,225 Points

In the Mysql installation I got an error stating the port (3306) was already in use: http://screencast.com/t/Kpsbyandd

How can I get past this screen? I'm not able to click "Next" and move forward.

Viki Pattanaik
Viki Pattanaik
6,314 Points

You probably had XAMPP or MAMP configured to start MySQL and PHP on system startup and by default MySQL uses port 3306. That's why Workbench gets a blocked port error. Like Ricky says in his answer try changing the port to 3307 or just start your XAMPP/MAMP application and stop MySQL manually in there before trying to connect using Workbench.

1 Answer

Ricky Catron
Ricky Catron
13,023 Points

This most likely means you already have either MySQL installed or some other program which is using the port. The quick way to go this would be simply change the port to 3307 in instillation. The better way would to be to stop whatever program is using the port and then try the install.

There are some good answers to find and stop the program: here

Goodluck! --Ricky