Added persistency setting for mysql