Update readme.md

This commit is contained in:
bash
2025-04-17 21:51:02 +02:00
committed by GitHub
parent 8b49c5e8e6
commit f2a5ef6aea

View File

@@ -18,10 +18,13 @@ mysql --help | grep my.cnf
sudo nano /etc/mysql/my.cnf sudo nano /etc/mysql/my.cnf
sudo systemctl restart mysql sudo systemctl restart mysql
SHOW VARIABLES LIKE 'innodb_buffer_pool_size'; SHOW VARIABLES LIKE 'innodb_buffer_pool_size';
# error while restart?
sudo journalctl -xeu mysql.service --no-pager | tail -n 30
``` ```
/etc/mysql/my.cnf /etc/mysql/my.cnf
``` ```
[mysqld]
# ------------------ Memory Usage ------------------ # ------------------ Memory Usage ------------------
innodb_buffer_pool_size = 24G innodb_buffer_pool_size = 24G
innodb_buffer_pool_instances = 8 innodb_buffer_pool_instances = 8