[Koha] yet another installer problem

zero at vtr.net zero at vtr.net
Mon Feb 7 09:04:40 NZDT 2005


Hi Roger I'll try to give you a few pointers  hope at time though...

Original Message

>From: Roger Horne <roger at hrothgar.co.uk>
>To: koha at lists.katipo.co.nz
>Subject: [Koha] yet another installer problem
>Date: Sat, 5 Feb 2005 18:46:33 +0000 (GMT)
>
>Creating the Mysql database ...
>
>ERROR 1062 at line 1: Duplicate entry 'localhost-kohaadmin' for key 1
>256 ERROR 1062 at line 1: Duplicate entry '%-Koha-kohaadmin' for key 1

--- This error points that you have allready a user called "kohaadmin" set
as default in a Koha  ./installer.pl  installation.

You can remove it by entering to the Mysql console and typing

DELETE FROM mysql.user WHERE User = "kohaadmin";

You may also would want to check first if the user is actually in the DB,
can do it by:

SELECT user, host, password FROM mysql.user;

By this you'll get a table with all the info about users, etc.

>/usr/bin/mysqladmin: command to server at 'localhost' failed
>error 'access denied for user: kohaadmin at localhost' (using password 'YES')'
>
>ERROR CREATING Database Could not connect to Mysql server

About this, you only should check your password spelling, may be you are
entering with a different one.

You allways should try entering with:

# mysql -u root -p[urpass]      ----> without the brackets

Ok may be you know all this by now, hope could help and someone correct
me
if I'm wrong.
You may also want to check www.kohadocs.org   for further documentation
about a debian based installation.

cheers
           J0se
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha






More information about the Koha mailing list