From 7b8626ca8114963317a879c8d82b642145bb18de Mon Sep 17 00:00:00 2001 From: er1cs <33969664+er1cs@users.noreply.github.com> Date: Sun, 24 Dec 2017 16:32:06 +0200 Subject: [PATCH] Update functions.inc.php I found that Mysql 8 don't like table names without `` in requests. So i make changes in function table_by_key in functions.inc.php and in upgrade.php . Now it works. FreeBSD 11.1 Apache/2.4.29 (FreeBSD) PHP/7.1.11 Mysql 8 --- functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.inc.php b/functions.inc.php index 8fd5da27..f2ba15c5 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1802,7 +1802,7 @@ function table_by_key ($table_key) { $table = $CONF['database_tables'][$table_key]; } - return $CONF['database_prefix'].$table; + return $CONF['database_prefix']."`".$table."`"; } /*