https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37971

            Bug ID: 37971
           Summary: Koha Bug Report: Database Access Error During Upgrade
                    24.05
 Change sponsored?: ---
           Product: Koha
           Version: 24.05
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Created attachment 171818
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171818&action=edit
snapshot of terminal

During an upgrade of Koha to version 24.05.03-1, the process failed due to a
database access error. The upgrade script was unable to connect to the
MySQL/MariaDB database, suggesting a potential issue with database permissions
or configuration.

Steps to Reproduce:

Attempt to upgrade Koha-common package to version 24.05.03-1
Run sudo apt-get install mariadb-server
Confirm the installation/upgrade process

Observed Behavior:

The upgrade process fails during the database schema upgrade step
An error message indicates that access is denied for the Koha database user

Error Message:
"DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
connect('database=koha_monirul;host=localhost;port=3306','koha_monirul',...)
failed: Access denied for user 'koha_monirul'@'localhost' (using password: YES)
at /usr/share/koha/lib/Koha/Database.pm line 91. at
/usr/share/koha/lib/Koha/Database.pm line 139"

Environment:

Koha version being upgraded to: 24.05.03-1
Database: MariaDB (version 1:10.11.8-0ubuntu0.24.04.1)
Operating System: Ubuntu (likely 24.04 based on package versions)

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to