GHacks.net posted a tutorial about using gkDebconf to reconfigure debconf-using programs
There are certain applications, such as MySQL and Apache that are configured upon installation. The most familiar to you might be MySQL. At the point of installation you configure the server address, admin password, etc.Use gkDebconf to reconfigure debconf-using programs