saving . . . saved Failure in connecting to Mysql database using KOHA has been deleted. Failure in connecting to Mysql database using KOHA has been hidden .
Failure in connecting to Mysql database using KOHA
Title
Question
<pre>DBIx::Class::Storage::DBI::catch {...} (): 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 1492. at /usr/share/koha/lib/Koha/Database.pm line 102\r\n</pre>\r\n

\r\nFor help, please send mail to the webmaster (<a href="mailto:[no address given]">[no address given]</a>), giving this error message \r\nand the time and date of the error.



Help me to troubleshoot the above  problem


PHP-and-MySQL General None min None sec 10-01-20, 6:35 p.m. HABIMANA

Answers:

There is a connection issue between Koha and your DBMS (MySQL or MariaDB).
Did you install the mariadb-server package?
You should also double check the value in your koha-conf.xml file
(search for "database", "user" and "pass" especifically).
12-03-21, 3:01 p.m. praving80


Log-in to answer to this question.