General > Support

Database was not initialized correctly

(1/1)

acherwinski:
Log: 14-Jul-2020 12:44:54 UTC] PHP Fatal error:  Database was not initialized correctly in /home/livechatadmin/public_html/libs/classes/Mibew/Database.php on line 120

I am trying a new clean install of the latest version. All the install check pass, but the database connection fails.

Error Display:
Correct the mistakes:
Could not connect. Please check server settings in config.yml. Error: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

Completed:
PHP version 7.2.31
All necessary PHP extensions are loaded
Directories permissions are correct

Any suggestions?

Thank you,
Alan

faf:
Obviously, you should double check your database settings. Namely, database host name. The host is just inaccessible from PHP. And it's not related to Mibew Messenger.

acherwinski:
Correct it was missing the initial " before Local Host.

Help appreciated.

Navigation

[0] Message Index

Go to full version