|
From: shane <sh...@lo...> - 2001-02-26 16:52:32
|
At 10:30 AM 2/26/2001 +0100, you wrote:
>Chris Nandor <pu...@po...> wrote:
> > >
> > >Perhaps you want to add a note to the Requirements section in INSTALL.
> >
> > What is the "almost"? Is that referring to the problem with PREFIX? If
> > so, then great, since that should be unrelated to "install". I'll add the
> > note to INSTALL.
>
>I confirm install v. 4.x seems to be required. Here is the "almost":
>
>Now bin/install-slashsite is failing. Basically, the trace deals with
>all perl Slash/DB files.
> => I tracked that DB.pm gets driver name '0' instead of 'mysql'; I
>hardcoded it, so that I could install completely.
> => Now my slash site is running, except slashd fails to start
>(complains about its inability to connect to the DB)
>
>I feel a lot of pain using DBIx::Password. I happen to be stupid, and
>the configuration dialog of DBIx:Password is really cryptic to me
>(besides, I don't understand the need for this module, anyway).
>It installs ok and all, but Slash seems to be unable to connect. (I am
>not networking anything, and I install as root. Older Slash codes run
>ok).
>
>Has someone a foolproof guide to DBIx:Password ?
If you look at the file "Password.pm" that is installed into your perl when
you install DBIx (mine is at
/usr/lib/perl5/site_perl/5.005/DBIx/Password.pm
) you can see the password information is there in plaintext.
an example:
my $virtual1 = {
'domainhurdercom' => {
'username' => 'domainhurdercom',
'password' => 'notforyoutoknow,
'port' => '',
'database' => 'domianhurdercom',
'attributes' => {},
'connect' => 'DBI:mysql:database=domainhurdercom;host=sql1',
'driver' => 'mysql',
'host' => 'sql1'
},
You can, if you're careful, edit that file to add/change/delete
dbi password accounts in it. For me, atleast, it was easier then
re-installing the damned thing each time I wanted to make a change and then
having to retype all the account information back in again and again.
Shane
|