Bug 21830

Summary: error stopping log in
Product: Koha Reporter: lailak
Component: Web servicesAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: critical    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description lailak 2018-11-13 20:50:19 UTC
Hi there,
I am thinking that we may have a bug. The following error is coming up when we try to log in to our system. Could you please let us know how to correct this?

DBIx::Class::Storage::DBI::dbh(): DBI Connection failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1253. at /usr/share/koha/lib/Koha/Database.pm line 90
Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 32.
BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 32.
Comment 1 Katrin Fischer 2018-11-13 21:08:40 UTC
Hi,

this kind of error indicates that your Koha installation can't connect to the database. There can be different reasons for this to happen, but it's very likely not a bug but a setup issue of your installation. These kinds of questions are better asked on the mailing list:

https://koha-community.org/support/koha-mailing-lists/

Many more people will read there and be able to help than on bugzilla which is used for tracking bugs and enhancement requests primarily.

Please make sure to include information about your installation to make it easier to help: Which version do you use? Did it work before? New installation? How was it installed? Which OS? etc.