Commit 9c666d0d authored by Andreas Sturmlechner's avatar Andreas Sturmlechner
Browse files

MySQL server settings: Make use of 'loose_' option prefix

Idea by one of the Gentoo MySQL maintainers. This makes MySQL skip over
unsupported options rather than fail, which is important with >=MySQL-8.

See also:
https://dev.mysql.com/doc/refman/8.0/en/option-files.html#option-file-syntax
https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#option-prefixes

BUG: 421922

Thanks-to: Thomas Deutschmann <whissi@gentoo.org>
parent 7b6a8c84
Pipeline #53054 skipped
......@@ -65,7 +65,7 @@ innodb_large_prefix=1
log_error=mysql.err
# print warnings and connection errors (default:1)
log_warnings=2
loose_log_warnings=2
# Convert table named to lowercase
lower_case_table_names=1
......@@ -80,10 +80,10 @@ max_connections=256
# (make sense when having the same query multiple times)
# Memory allocated for caching query results (default:0 (disabled))
query_cache_size=0
loose_query_cache_size=0
# Do not cache results (default:1)
query_cache_type=0
loose_query_cache_type=0
# Do not use the privileges mechanisms
skip_grant_tables
......
......@@ -62,7 +62,7 @@ innodb_log_file_size=64M
log_error=mysql.err
# print warnings and connection errors (default:1)
log_warnings=2
loose_log_warnings=2
# Convert table named to lowercase
lower_case_table_names=1
......@@ -77,10 +77,10 @@ max_connections=256
# (make sense when having the same query multiple times)
# Memory allocated for caching query results (default:0 (disabled))
query_cache_size=0
loose_query_cache_size=0
# Do not cache results (default:1)
query_cache_type=0
loose_query_cache_type=0
# Do not use the privileges mechanisms
skip_grant_tables
......
  • I faced this issue no Kubuntu 20.10. It was working fine before I installed mysql-server. On installing mysql-server, akonadi failed to start. After chatting on the IRC, a fellow contributor suggested me to install mariadm-server. But now I can't use mysql-server on my system. Please fix this soon. It would really help.

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment