Development/MusicBrainz Server Environment Variables
From MusicBrainz Wiki
< Development
Jump to navigationJump to searchRevision as of 18:17, 31 January 2012 by Kuno (talk | contribs) (User:kuno/Server/Environment variables moved to Development/MusicBrainz Server Environment Variables)
Environment variables
The musicbrainz server understands the following environment variables, these may be useful during development:
CATALYST_DEBUG
This is the catalyst debug output, it is enabled by default. You can set it to "0" if you're not interested in this data.
SQL_DEBUG
Set this to "1" to print sql queries on the console (including query times).
MUSICBRAINZ_USE_TEST_DATABASE
Set this to "1" when you want to run the server against the test database, this is typically used to debug selenium tests:
$ script/setup_test_db_for_selenium.pl ; MUSICBRAINZ_USE_TEST_DATABASE=1 script/musicbrainz_server.pl -r