Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2001 14:31:46 +0000 (GMT)
From:      Jason <jason@jason-n3xt.org>
To:        Lucas Bergman <lucas@slb.to>
Cc:        questions@freebsd.org
Subject:   Re: MySQL and Qmail
Message-ID:  <Pine.BSF.4.21.0109271427520.9917-100000@jason-n3xt.org>
In-Reply-To: <20010927085851.C89668@comp04.prc.uic.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 27 Sep 2001, Lucas Bergman wrote:

> > I'm having trouble with getting MySQL server working.  After I
> > install it from the ports I tried to run the commands it said to
> > change the "root" passwd of the database.  It gave me:
> > 
> > /usr/local/bin/mysqladmin -u root -p password <new password>
> > Enter password:
> > /usr/local/bin/mysqladmin: connect to server at 'localhost' failed
> > error: 'Access denied for user: 'root@localhost' (Using password: YES)'
> 
> If your MySQL installation is fresh, then there is no root password
> yet.  Using the '-p' means that root has a password, so no matter what
> you enter at the 'Enter password' prompt, you will never authenticate
> with the server.  (In MySQL, no password != zero-length password.)  To
> tell MySQL that root has no password, throw away the '-p'.
> 
>   mysqladmin -u root password new-password
> 
> Lucas
> 
Awesome that worked.

Okay now I still can't seem to add domains to VPOPMAIL.  I tried using the
test domain "test.com" like it says in the instructions and I tried using
my real domain.

~vpopmail/bin/vadddomain test.com
Please enter password for postmaster:
enter password again:
could not connect to mysql server
vswl_getpw: failed to select
MySQL server has gone away
mysql adduser failed
vsql_getpw: failed select


Any further ideas?

TIA
----
Jason
jason@jason-n3xt.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0109271427520.9917-100000>