MySQL port should be always integer (HHVM compatibility)
Merge pull request #317 from soukiii/master

MySQL port should be always integer (HHVM compatibility) refs #4415 

Thanks for the pull request!