Parse server version info more robustly
Closes #2934
Merge pull request #69 from sloat/pr2934

Fixes server version parsing in cymysql dialect