[Koha] Access denied after try to run batchRebuildBiblioTables.pl

DHIM IT itmanager at dhi-moskau.org
Sat Jul 10 02:44:57 NZST 2021


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




More information about the Koha mailing list