[server] Getting users from both database and LDAP.
[mysql] Allow setting connection charset.