[Koha] Access denied after try to run batchRebuildBiblioTables.pl
Mason James
mtj at kohaaloha.com
Sat Jul 10 13:31:11 NZST 2021
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