MySQL utility scripts