Reputation: 145
I am a newbie to mysql , Just want to know which variables should i set under which blocks , I mean what variables should be under
[mysql]
What variables under
[mysqld],[mysqladmin],...
and so on
help is appreciated
Upvotes: 0
Views: 786
Reputation: 16304
Those blocks are for the different programs within any mysql installation.
For example, the mysqld
and mysql
groups apply to the mysqld server and the mysql client program, respectively.
You might want to have a look into the manual pages titled "using option files" for more details.
Upvotes: 0
Reputation: 1551
You should set all global variables values under [mysqld] section of my.cnf
file and restart server to have effect of changed values on your server.
Upvotes: 2