Fixed configuration on mysql and pgsql

Signed-off-by: crynobone <crynobone@gmail.com>