Database Connection Error

The system is currently unable to connect to the database. This is likely because the database credentials in includes/db.php need to be updated for your cPanel hosting.

Error Details: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

How to fix this:

  1. Log in to your cPanel.
  2. Go to MySQL Databases and create a database (e.g., youruser_reservation_db).
  3. Create a database user and assign it to the database with all privileges.
  4. Open includes/db.php in the cPanel File Manager.
  5. Update the $db, $user, and $pass variables with your new credentials.
  6. Import the database.sql file using phpMyAdmin.