I had openerm running yesterday, but today I am getting this error on the screen:
Warning : mysqli_real_connect(): (HY000/2002): No such file or directory in /usr/local/www/openemr/library/ADODB_mysqli_log.php on line 188
Check that mysqld is running.
Fatal error : Allowed memory size of 268435456 bytes exhausted at /usr/ports/lang/php74/work/php-7.4.5/Zend/zend_execute.c:185 (tried to allocate 262176 bytes) in /usr/local/www/openemr/vendor/adodb/adodb-php/adodb.inc.php on line 183
The logs have:
2020/05/05 10:33:13 [error] 75956#100518: *51 FastCGI sent in stderr: "
PHP message: PHP Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /path/to/openemr/library/ADODB_mysqli_log.php on line 188
PHP message: PHP custom error: from openemr library/sql.inc - Unable to set up UTF8 encoding with mysql database: No such file or directory
PHP message: Unable to set strict sql setting: No such file or directory
PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted at /usr/ports/lang/php74/work/php-7.4.5/Zend/zend_execute.c:185 (tried to allocate 262176 bytes) in /path/to/openemr/vendor/adodb/adodb-php/adodb.inc.php on line 183" while reading response header from upstream, client: 192.168.1.1, server: openemr.mydomain.com, request: “GET /interface/login/login.php?site=mysite HTTP/2.0”, upstream: “fastcgi://unix:/path/to/php-fpm.sock:”, host: “openemr.mydomain.com”
What is happening?
I could use some advice. Thanks in advance.