Revert "Revert "set up the mysql parameters""

This reverts commit 7037b98f01759aa37d927c764e350c6500c25b7b.