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 trialTati Belikova
14,117 PointsMySQL server wont start. help!
As I am starting server from MySQL workbench i get this : How do I fix this?
2015-09-26 14:07:40 - Starting server... 2015-09-26 14:07:40 - Executing '/usr/local/mysql/support-files/mysql.server start' 2015-09-26 14:07:40 - Start server: Starting MySQL
2015-09-26 14:07:40 - Start server: . 2015-09-26 14:07:40 - Start server: . 2015-09-26 14:07:40 - Start server: . 2015-09-26 14:07:40 - Start server: . 2015-09-26 14:07:40 - Start server: . 2015-09-26 14:07:40 - Start server: . 2015-09-26 14:07:40 - Start server: . 2015-09-26 14:07:40 - Start server: . 2015-09-26 14:07:40 - Start server: . 2015-09-26 14:07:40 - Start server: . 2015-09-26 14:07:40 - Start server: ........................................ 2015-09-26 14:07:40 - Start server: .................................................. ERROR! The server quit without updating PID file (/usr/local/mysql/data/tatianaeliksmbp.pid).
2015-09-26 14:07:40 - Server start done. 2015-09-26 14:07:40 - Checking server status... 2015-09-26 14:07:40 - Trying to connect to MySQL... 2015-09-26 14:07:40 - Can't connect to MySQL server on '127.0.0.1' (61) (2003) 2015-09-26 14:07:40 - Assuming server is not running 2015-09-26 14:07:40 - Checking server status... 2015-09-26 14:07:40 - Trying to connect to MySQL... 2015-09-26 14:07:40 - Can't connect to MySQL server on '127.0.0.1' (61) (2003) 2015-09-26 14:07:40 - Assuming server is not running
Tati Belikova
14,117 PointsYes i have MySQL server installed
Gunhoo Yoon
5,027 PointsThen you might need to search for a bit since it can vary a lot. Here are few starting points.
(http://ubuntuforums.org/showthread.php?t=2242435)
(http://dev.mysql.com/doc/refman/5.6/en/can-not-connect-to-server.html)
Sorry but I can only help this way as I haven't touched MySQL workbench. I've only used MySQL server directly.
Tati Belikova
14,117 PointsI have tried this http://www.mahdiyusuf.com/post/21022913180/mysql-the-server-quit-without-updating-pid-file it didnt work for me
Gunhoo Yoon
5,027 PointsHave you tried directly accessing through MySQL server without using Workbench?
Tati Belikova
14,117 PointsMySql server seems to work when i restart computer and mark start automatically, but as soon as i try to make connection through MySQL workbench connection drops and im not able to reconnect without workbench as well.
Gunhoo Yoon
5,027 PointsIf you are using OS X ignore all of the link I posted and try following steps provided by MySQL official document. Link Switch to your MySQL version if needed.
Tati Belikova
14,117 PointsGunhoo, this sounds like a solution. its crazy that MySQL havent adopted yet to Yosemite. I assume, its better if I ll get rid of MySQL before going through installation process again?? http://www.youtube.com/watch?v=uVqulpxUWzw
Gunhoo Yoon
5,027 PointsYeah I think you should remove it and re-install with the OS X quirks in mind. I'm not familiar with any OS X so I cannot assure solid answer until I try this in virtual machine or something.
1 Answer
Tati Belikova
14,117 PointsAlright, so after few hours of unistalling and installing MySql server and trying all possible fixes I have decided to give up. And in absolute despair I thought to give XAMPP a try. and it worked right away by one click on MySQL connect button, my server instance on workbench started working in seconds with no errors. And after all those struggles and a super easy set up with XAMPP I dont think installing MySQL server separatly can be a good practice for Mac Yosemite Users, not only it gives errors but the uninstall process is not very easy. Sad that Treehouse team didnt mention this changes in teachers notes. Big Thanks to Gunhoo Yoon for giving me so much help!
Gunhoo Yoon
5,027 PointsGreat!
Gunhoo Yoon
5,027 PointsGunhoo Yoon
5,027 PointsDo you have MySQL server installed? If yes try this answer from Stackoverflow