Fix of bug 237

Seems that changes proposed in description of bug:
https://github.com/share/ShareJS/issues/237
can fix problem of connection to MySQL