The most popular open source web analytics software suite is Piwik, which is based on PHP/MySQL.
But in their own words "Piwik aims to be an open source alternative to Google Analytics."
Google Analytics (GA) is very mature and supports enterprise-grade analytics. You should definitely start with GA due to its ease of implementation and given the rich range of analytics reports you'll get in return.
Some users prefer to analyze their web server logs and there are various applications available to do this (like your SmarterStats). AWStats is the most popular open source package used to analyze web server log files.
For monitoring MySQL, check out mtop and kontrolbase.
Regarding web server metrics, assuming you're using Apache, you could try installing mod_status, which provides a useful stats page.
Advice: You are asking for a lot, so no single solution will meet your needs. Try Google Analytics + mtop + mod_status to get a balanced view of front and back end.