[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: not sure



There's nothing wrong with execution through 'sh' but the script assumes it
has root-access to the database without a password. This is true in the
default installation of mysql on redhat, but hopefully not on a production-
system. You can either modify the script to use a password (read the manual
of mysql) or directly execute the commands with the mysql-client as
described on http://qmail-sql.digibel.be/layout.html

Regards,
Michael.

On Sun, Oct 20, 2002 at 04:00:00PM +0200, Bert Verslegers wrote:
> I can't execute initdb
> 
> [root@ogy qmail-1.03]# sh initdb
> ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
> ERROR 1045: Access denied for user: 'usermgr@localhost' (Using password:
> YES)
> [root@ogy qmail-1.03]#
> 
> Or do i have to do it otherway then sh?
> 
> Mvg
> 
> 
> ----- Original Message -----
> From: "Michael Devogelaere" <michael.devogelaere@xxxxxxxxxx>
> To: "Bert Verslegers" <info@xxxxxxxxxxxxx>
> Cc: <qmail-sql@xxxxxxxxxx>
> Sent: Sunday, October 20, 2002 3:30 PM
> Subject: Re: not sure
> 
> 
> > On Sat, Oct 19, 2002 at 10:49:00PM +0200, Bert Verslegers wrote:
> > > I don't know where to start.
> > > I used the rpm to install.
> > > Do i have to start from point 1 in the installation guide? because there
> > > they install it again ... or can i skip some points?
> > You can skip till step 6. Note that - contrary to the installguide - the
> RPM
> > installs sqlcreatehomedir in /usr/bin and not in /usr/local/sbin. But
> that's
> > no problem as you need to specify the location of sqlcreatehomedir in
> > the sqlserver-file.
> >
> > Regards,
> > Michael.
>