PHP is unable to establish a connection with the SQL database. I’m trying to insert data through a simple HTML form and PHP, but causing 404 error. After clicking the “Submit Data” button in the ‘index.html’ link that is supposed to trigger ‘insert_data.php,’ it triggers the file, but ‘insert_data.php’ is unable to establish a connection with the SQL database causing 404 error.

