simplifying mysql config