some mysql tweaks