Many Drupal users have encountered the following error in their Drupal sites. "user error: Access denied for user: 'user@host' to database 'database' query: LOCK TABLES sequences WRITE in [path]/database.mysql.inc on line xx". If you are facing the same error message in your Drupal site then read on to find out the solution.