[Koha] Access denied after try to run batchRebuildBiblioTables.pl
DHIM IT
itmanager at dhi-moskau.org
Sun Jul 11 22:06:14 NZST 2021
It runs! Thank you, Mason!
Mit besten Grüßen,
Eugen Bastron
________________________________
Von: Mason James <mtj at kohaaloha.com>
Gesendet: Saturday, July 10, 2021 4:31:11 AM
An: DHIM IT <itmanager at dhi-moskau.org>; Koha at lists.katipo.co.nz <Koha at lists.katipo.co.nz>
Betreff: Re: [Koha] Access denied after try to run batchRebuildBiblioTables.pl
hi Eugen
try using the 'koha-shell' command
$ sudo koha-shell -c '/usr/share/koha/bin/batchRebuildBiblioTables.pl -c' your_koha_name
cheers, Mason
On 10/07/21 2:44 am, DHIM IT wrote:
> Dear colleagues,
>
> I will try to rebuild the biblioitems table after mapping a new value in “Koha to MARC mapping”, but I get this error:
>
>
> /usr/share/koha/bin/batchRebuildBiblioTables.pl -c
>
> DBI connect('database=koha;host=localhost;port=3306','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1517.
>
> DBI connect('database=koha;host=localhost;port=3306','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1517.
>
> DBI connect('database=koha;host=localhost;port=3306','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1517.
>
> DBI connect('database=koha;host=localhost;port=3306','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1517.
>
> DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1520. at /usr/share/koha/lib/Koha/Database.pm line 117
>
> Koha version: 20.11.05.000
>
>
>
> I can connect to MySQL without problems without password like: mysql -u root
>
>
>
> What am I doing wrong?
>
> Eugen Bastron
>
>
> _______________________________________________
>
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list