Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
mysql is not working in xampp
i have installed xampp in windows7 apache is working whereas mysql is saying attempting to start mysql service. how to fix this .please help me
Ryan Watson5,471 Points
There are several reasons why this could happen, but a common issue is a port conflict. By default, MySQL listens to port 3306. If you have another instance of mySQL already installed on your system, this could cause a conflict. Also, another program could be listening to Port 3306.
I recommend that you change the port that MySQL is listening to in the mySQL configuration file.
Read this post http://silentlyrun.blogspot.com/2013/02/how-to-change-apache-n-mysql-port-for.html#!/2013/02/how-to-change-apache-n-mysql-port-for.html , and do a search on this topic to find specific information on how to do this.
If this does not solve your issue, More information on your config will be needed to troubleshoot this issue. I would suggest posting to the Apache friends forum