From a23dc7eb18b79d8ed752eaf6f32ffb7a1f680c0e Mon Sep 17 00:00:00 2001
From: JoeMurray <joe.murray@jmaconsulting.biz>
Date: Mon, 28 Nov 2022 22:59:02 +0000
Subject: [PATCH] Adding initial troubleshooting for "DB Error: unknown error
 relating to https://chat.civicrm.org/civicrm/pl/pdfikek9qp8dxy1ng18ajmupba

---
 docs/general/troubleshooting.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/docs/general/troubleshooting.md b/docs/general/troubleshooting.md
index ed908e5..6659c2f 100644
--- a/docs/general/troubleshooting.md
+++ b/docs/general/troubleshooting.md
@@ -71,14 +71,18 @@ If you get this error on a new Drupal/CiviCRM installation, you may have skipped
 
 If you see this error, you may need to modify the session.save_handler method for your site. Check with your hosting provider for the recommended way to do this.
 
-### WordPress menus are wrong
+### Page doesn't reload and spinner shows when tryibng to re-create triggers, eventually showing "DB Error: unknown error"
 
-Try [rebuilding the WordPress menus](#rebuild-wp-menus).
+There can be multiple reasons for this, but they usually relate to MySQL user or connection issues. Check the MySQL user exists, and that it can log in to the database from the server accessing MySQL with the password in civicrm.settings.php. You may want to check logs then. A solution on some systems with MySQL binary logging is to add log_bin_trust_function_creators = 1 to the mysqld config file.
 
 ### "Your PHP version is missing zip functionality"
 
 If you get this error when installing or upgrading CiviCRM for Joomla, download and use the `civicrm-x.x.x-joomla-alt.zip` package.
 
+### WordPress menus are wrong
+
+Try [rebuilding the WordPress menus](#rebuild-wp-menus).
+
 ## Solutions
 
 ### Cleanup Caches and Update Paths {:#clear-cache}
-- 
GitLab