Bug 21830 - error stopping log in
Summary: error stopping log in
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Web services (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low critical (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-13 20:50 UTC by lailak
Modified: 2019-10-14 19:58 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.