Add support for database and web servers on different hosts
Brought to you by:
tendays
Configuration already supports specifying a database server other than localhost, but the sql script generator in the config plugin hardcodes 'localhost' in the GRANT statements.
This needs a new entry in config.php for the web server hostname as seen from the database server (might be different from the public webserver hostname).