Jeg er enligt ved at instalere qmail med mysql. og følger gentoos guide.
http://www.gentoo.org/doc/en/qmail-howto.xml
Men når jeg kommer til punktet " Setting up vpopmail in mysql"
# rc-update add mysql default
If you just emerged mysql for the first time, make sure you run
the ebuild <mysql.ebuild> config command and follow the
directions before starting the mysql server.
# /etc/init.d/mysql start
# nano /etc/vpopmail.conf
(Change the password from 'secret' to 'vpoppw')
# mysql -p << EOF
>create database vpopmail;
>use mysql;
>grant select, insert, update, delete, create, drop on vpopmail.* to
vpopmail@localhost identified by 'andy';
>flush privileges;
>EOF
(The following steps may or may not be needed, but we run them just to
be sure)
# chown root:vpopmail /etc/vpopmail.conf
# chmod 640 /etc/vpopmail.conf
# chown root:vpopmail /var/vpopmail/bin/vchkpw
# chmod 4711 /var/vpopmail/bin/vchkpw
går det galt.
mysql -p << EOF
> create database vpopmail;
> use mysql;
> grant select, insert, update, delete, create, drop on vpopmail.* to
vpopmail@localhost identified by 'andy'; > flush privileges;
> EOF
Enter password:
ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
jeg har prøvet at pinge mysql med.
mysqladmin ping
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
så det er i mysql jeg har et problem.
kan heller ikke sætte et passwd for mysql?