use database name from config file instead of mysql DATABASE() when clearing functions and procedures