MySQL / MariaDB slow and freezing

The best bet:
Turn off query cache:
find my.ini in windows, or my.conf in linux
add line in mysqld
[mysqld]
...
query_cache_type=0
query_cache_size=0

0 is off
1 is on

You may also like...