this code was written for me by chatgpt after i gave it all the data about my server like hardware requirements, databse, plesk version, wordpress instances etc.
cat /etc/my.cnf
#
# This group is read both both by the client and the server
# use it for options that affect everything
#...