Answers.Body: <p>Looks like a MySQL user permission issue. Check if the user has required permission to perform action on drupal db.</p>
  <p><a href="https://stackoverflow.com/a/5699061">https://stackoverflow.com/a/5699061</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-27T10:47:00.127Z
Answers.LastActivityDate: 2024-03-27T10:47:00.127Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>My Drupal 10 website hosted on OVH was working fine, but now, whenever I try to access a page with a form, I get an error on that page</p>
  <p>The website encountered an unexpected error. Try again later. Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'xxxxxxx'@'xx.xx.xx.xx' for table 'watchdog': INSERT INTO &quot;watchdog...</p>
  <p>Any idea what the issue might be?</p>
  
Tags: <drupal>
Title: 1142 INSERT command denied to user when accessing any page with a form
ThreadText: # 1142 INSERT command denied to user when accessing any page with a form
  
  (Asked by: username_0 on 2024-03-27)
  
  My Drupal 10 website hosted on OVH was working fine, but now, whenever I try to access a page with a form, I get an error on that page
  
  The website encountered an unexpected error. Try again later. Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'xxxxxxx'@'xx.xx.xx.xx' for table 'watchdog': INSERT INTO "watchdog...
  
  Any idea what the issue might be?
  
  **Tags:** drupal
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-03-27. Score: 0
  
  Looks like a MySQL user permission issue. Check if the user has required permission to perform action on drupal db.
  
  <https://stackoverflow.com/a/5699061>
  
  
  ---
  
  