It's still not clear whether u want the settings to be changed at the mysql level or program level. would be better if you post ur code