I am having difficulty troubleshooting an issue where I think my PHP script is not able to insert data to a mySQL database. Is there a text log somewhere for mySQL that would indicate specific reasons like login errors, privilege error, etc on why a transaction to the database failed?