Database Connection Error: The provided database hostname, port, username, and/or password is invalid

Hello,

I have a problem when trying to install the configuration SuiteCRM 8.2.2 and it popup “Database Connection Error: The provided database hostname, port, username, and/or password is invalid.” The DB already running and user/password is correct
Does anyone have any idea about this?

The path for SuiteCRM folder is /var/www/html/suitecrm
OS: AlmaLinux 8.7
DB: Mariadb 10.8.6
PHP: 7.4
Using Apache

Hello @Clarence888

Here are total 2 possibilities of the error you get when you proceed;

  1. First, check your database credentials, if correct or not.
  2. And another thing is to check your suitecrm instance URL with a current IP address.

After checking all these things, if all are correct, the next step is to check your suitecrm log and PHP log. in your terminal. is there any error shown - check it

If all are correct, then lastly check Suitecrm v8.2.x Compatibility Matrix for your instance.

Thanks.

1 Like

Hi @chirag_biz309

Thanks this work for me. I found it was my database credentials problem.

1 Like