Fixes #2182 Apostrophe in DB password causes PHP error