Entry tags:
Database configuration moved to config-private.pl
If you're using dw-nonfree for testing, especially on Dreamhacks, you probably noticed that every time we have to update config-local.pl, we end up breaking your dev environments. That is because the repository's config-local.pl, which contains a different database name, overwrites yours. There are ways around this, but really database configuration information is site/installation-specific, and should be in config-private.pl, not config-local.pl.
So we just committed a fix which moves the database information hash to config-private.pl for both the main DB and the schwartz (workers/ESN/etc) DB.
This means that your installation will break as before; but it will not break on subsequent updates. To fix it this one last time, first open up $LJHOME/docs/config-private.pl.txt, and look for %DBINFO and %THESCHWARTZ_DBS. Then copy these structures into $LJHOME/etc/config-private.pl; replace with your own DB and username.
Note: for Dreamhacks, it's going to be:
user => 'dh_username',
dbname => 'dreamhack_username',
underscore, not hyphen, and double-check that it's dh_*, dreamhack_*, and not dw_*, dreamwidth_* respectively.
If you're self-hosting, then change your user/dbname again, if applicable.
So we just committed a fix which moves the database information hash to config-private.pl for both the main DB and the schwartz (workers/ESN/etc) DB.
This means that your installation will break as before; but it will not break on subsequent updates. To fix it this one last time, first open up $LJHOME/docs/config-private.pl.txt, and look for %DBINFO and %THESCHWARTZ_DBS. Then copy these structures into $LJHOME/etc/config-private.pl; replace with your own DB and username.
Note: for Dreamhacks, it's going to be:
user => 'dh_username',
dbname => 'dreamhack_username',
underscore, not hyphen, and double-check that it's dh_*, dreamhack_*, and not dw_*, dreamwidth_* respectively.
If you're self-hosting, then change your user/dbname again, if applicable.
no subject
no subject
One thing to note: make sure that you have a relatively updated copy of etc/config-private.pl. It may be worth starting over again; copy the docs/config-private.pl.txt to overwrite etc/config-private.pl, and then try again.