Fixing MySQL port handling and Graphite exporting

Sorry, was made couple mistakes in my prev. commits
- MySQL port parameter was not quite optional after my changes, now it is
- Graphite server has no server name in metric, now it has