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
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

_______________________________________________

Koha mailing list  http://koha-community.org
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to