Entry tags:
Question thread #61
It's time for another question thread!
The rules:
- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
The rules:
- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
no subject
no subject
@THESCHWARTZ_DBS = (
{
dsn => 'dbi:mysql:dw_schwartz;host=localhost', # CHANGETHIS if on Dreamhack to dreamhack_username instead of dw_schwartz
user => 'dw', # CHANGETHIS if on Dreamhack to dh_username
pass => 'password', # CHANGETHIS
},
);
no subject
no subject
no subject
no subject
1- Open ext/local/etc/config-private.pl (not etc/config-private.pl) with your favorite editor
2- In %DBINFO, note what user and pass are set to
3- In @THESCHWARTZ_DBS, make sure that user and pass match those in %DBINFO
4- Still in @THESCHWARTZ_DBS, change 'dw_schwartz' in dsn to 'dw'
5- Still in @THESCHWARTZ_DBS, add the following line before the closing }:
6- Check @THESCHWARTZ_DBS: it should now look something like: (perhaps with different indentation)
7- Save your changes
8- Test as much of the features that rely on TheSchwartz that you can and care for (for a should-be-complete list, see TheSchwartz workers in http://wiki.dreamwidth.net/wiki/index.php/Workers#List_of_workers )
no subject
no subject
7.5- restart Apache and workers