I am new in Magento 2.2 and facing MySql slow queries issue.I want to know how to use/install MySqltuner in Magento 2. And where is the location of my.cnf file?
Need help to fix this issue.
Thanks
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI am new in Magento 2.2 and facing MySql slow queries issue.I want to know how to use/install MySqltuner in Magento 2. And where is the location of my.cnf file?
Need help to fix this issue.
Thanks
Below are some main Magento2 MySQL Recommeded Configurations.
For more details Refer this devdocs link - https://devdocs.magento.com/guides/v2.3/install-gde/prereq/mysql.html
Location of my.cnf
File are:
/etc/my.cnf
/etc/mysql/my.cnf
$MYSQL_HOME/my.cnf
[datadir]/my.cnf
~/.my.cnf