I have a ‘could not connect to db’ error. I have php 8, version 8 of suitecrm. I have everything else seemingly present. I even have the username and password correct, with the correct database in the command line. this is the logs file:
[2023-01-25 16:39:49] install.INFO: Running step: check-install-lock [] []
[2023-01-25 16:39:49] install.INFO: step: check-install-lock | status: done [] []
[2023-01-25 16:39:49] install.INFO: step: check-install-lock | messages: [] []
[2023-01-25 16:39:49] install.INFO: Installer not locked. Proceeding with install [] []
[2023-01-25 16:39:49] install.INFO: step: check-install-lock | debug: no debug info [] []
[2023-01-25 16:39:49] install.INFO: Running step: check-db-connection [] []
[2023-01-25 16:39:49] install.INFO: step: check-db-connection | status: failed [] []
[2023-01-25 16:39:49] install.INFO: step: check-db-connection | messages: [] []
[2023-01-25 16:39:49] install.INFO: Could not connect to db [] []
[2023-01-25 16:39:49] install.INFO: step: check-db-connection | debug: no debug info [] []
[2023-01-25 16:41:38] install.INFO: Running step: check-install-lock [] []
[2023-01-25 16:41:38] install.INFO: step: check-install-lock | status: done [] []
[2023-01-25 16:41:38] install.INFO: step: check-install-lock | messages: [] []
[2023-01-25 16:41:38] install.INFO: Installer not locked. Proceeding with install [] []
[2023-01-25 16:41:38] install.INFO: step: check-install-lock | debug: no debug info [] []
[2023-01-25 16:41:38] install.INFO: Running step: check-db-connection [] []
[2023-01-25 16:41:38] install.INFO: step: check-db-connection | status: failed [] []
[2023-01-25 16:41:38] install.INFO: step: check-db-connection | messages: [] []
[2023-01-25 16:41:38] install.INFO: Could not connect to db [] []
[2023-01-25 16:41:38] install.INFO: step: check-db-connection | debug: no debug info [] []
I am trying to set this up on RHEL 8.7. I have a separate partition for suitecrm with the document root swapped to the new partition.