I am trying to setup the MySQL I have installed on my Mac. Mac is 10.14.6 Mojave. MySQL is 8.0.21.
I have created a my.cnf
file in the main mysql directory, which is
/usr/local/mysql
.
I have set the path to the config file using the system preferences pane for MySQL (select 'Configuration File', press "Select" button ad navigate to/select file).
Restarted server (many times!) and MySQL is just not 'seeing' or using the my.cnf
.
I have put many 'whacky' test settings in the file to see if it is being used; port changed to 3308 (MySQL Workbench still connects and says it is 3306), changed location of general and error logs (no sign of them in new location) etc etc.
Can anybody suggest what I am doing wrong and why my.cnf
is not being used?
Many thanks
Mark