Re: [Koha] [Koha-devel] Koha 3.4.1 upgarde - failed: Access denied for user 'kohaadmin'@'localhost' (using password: YES)
I have reinstalled koha 3.4.1 and I'm able to access the admin web interface. But when I run the update scripts I still get remove_items_from_biblioitems.pl --run DBI connect('dbname=koha;host=localhost;port=3306','kohaadmin',...) failed: Access denied for user 'kohaadmin'@'localhost' (using password: YES) at /opt/kohaclone/koha-tmpl/lib/C4/Context.pm line 692 I'm on SuSE 11.3 Anyone else with the same problem? Rudy Wuthrich Kodaikanal International School
Fridolyn SOMERS <fridolyn.somers@gmail.com> 5/27/2011 1:55 PM >>> Check if kohaadmin can access (via mysql -u -p -D<base name>) the Koha database.
Regards, On Thu, May 26, 2011 at 12:44 PM, ISM KIS <Ism@kis.in> wrote:
I am still in the process of upgrading our Koha from 3.00.06 to 3.4.1
Installation is ok. I could import the data from 3.0.6 and did the database update from the :8080 interface.
But then when I run the script to remove the biblioitems I get the following error message:
koha34:/opt/kohaclone/misc/maintenance # perl remove_items_from_biblioitems.pl --run DBI connect('dbname=koha;host=localhost;port=3306','kohaadmin',...) failed: Access denied for user 'kohaadmin'@'localhost' (using password: YES) at /opt/kohaclone/koha-tmpl/lib/C4/Context.pm line 692 Access denied for user 'kohaadmin'@'localhost' (using password: YES) at /opt/kohaclone/koha-tmpl/lib/C4/Context.pm line 692.
What does that mean? ( By the way: I' m able to access mysql -ukohaadmin -pxxxxx )
Any ideas?
Rudy Wuthrich Kodaikanal International School
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Fridolyn SOMERS ICT engineer PROGILONE - Lyon - France fridolyn.somers@gmail.com
ISM KIS asked:
I have reinstalled koha 3.4.1 and I'm able to access the admin web interface. But when I run the update scripts I still get
remove_items_from_biblioitems.pl --run DBI connect('dbname=koha;host=localhost;port=3306','kohaadmin',...) failed: Access denied for user 'kohaadmin'@'localhost' (using password: YES) at /opt/kohaclone/koha-tmpl/lib/C4/Context.pm line 692
I'm on SuSE 11.3 Anyone else with the same problem?
There are several things to check: * Are your environment variables set correctly? Try this as the user zebra runs as (koha by default): export PERL5LIB=/path/to/your/koha/ (this is the directory above where your C4 directory is) and export KOHA_CONF=/path/to/your/koha-conf.xml and run the script again. * Make sure that you are pointing to the correct koha-conf.xml, and that you don't have duplicates. based on http://koha-community.org/documentation/faq/installingupgrading/ Hope that helps, -- MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op. http://koha-community.org supporter, web and LMS developer, statistician. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire for Koha work http://www.software.coop/products/koha
participants (2)
-
ISM KIS -
MJ Ray