SOC-4181 | User AS crashes after removing any space having a post.
PLF-5974: Cannot start PLF with MySQL in UTF-8 (Social)

Fix description:
- Add dialect to repository configuration
- Remove hard-coded dialect
Merge commit '23ca4fd913ac90e7736c2c259f7db705b3b036fd' into HEAD