Escape MySQL db names.
Merge pull request #2788 from aquach/devel

Escape MySQL db names.