June 2016
Beginner
456 pages
9h 31m
English
MySQL has hundreds of settings that can be configured. Version 5.7 ships with many improvements in default configuration values and requires far fewer changes. In this recipe, we will look at some of the most important parameters for tuning MySQL performance.
You will need access to a root account or an account with sudo privileges.
You will need access to a root account on the MySQL server.
Follow these steps to improve MySQL configuration:
$ cd /etc/mysql/mysql.conf.d $ sudo cp mysqld.cnf mysqld.cnf.bkp
my.cnf for changes:
$ sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
Read now
Unlock full access