Compatibility issues with mysql and a small fix on sessionHandlers registration error reporting.