Installing Suite CRM v8.7 on Shared Hostinger account


Hi Team,

I recently installed SuiteCRM on my Hostinger shared hosting account. During the installation process, I entered all the required database details (hostname, port, username, and password) correctly.

However, I keep getting the following error:
“Database Connection Error: The provided database hostname, port, username, and/or password is invalid.”

Here’s what I’ve done so far to troubleshoot the issue:

  1. Verified the database credentials (username, password, database name, and hostname).
  2. Ensured the database user has full privileges assigned to the database.
  3. Checked the hostname, and it’s set to localhost (as per Hostinger’s documentation).
  4. Confirmed the database server is running.
  5. Double-checked the PHP version and extensions (curl, mbstring, json, and pdo_mysql are enabled).

Despite this, the error persists. I’d appreciate it if anyone can guide me on resolving this issue. Could there be any specific configuration for Hostinger shared hosting that I might be missing?

What database are you using for the SuiteCRM?


Try creating a simple PHP script to test if you can connect to the database using the same credentials outside of SuiteCRM:

<?php
$servername = "localhost"; // Or use the correct Hostinger database hostname
$username = "your_db_user";
$password = "your_db_password";
$dbname = "your_db_name";

// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);

// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
?>

If the issue persists after trying the above steps, I would recommend reaching out to Hostinger’s support team. They can help verify your database setup, ensure there are no server-specific issues, or provide you with the correct database access parameters if something is misconfigured.