I have an application in grails, which i can the change the parameters in the welcome page, database configuration included (server, username, ...), i externalized the db co
I did a blog post along these lines a while back: http://burtbeckwith.com/blog/?p=312
I'm not sure if it still works with 2.0, but it shouldn't require too much tweaking. By delaying the creation of the datasource, you can configure the connection properties of the DataSource bean or in the Grails config and after that the next connection request will use the new configuration.