0

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

mviswa
  • 147
  • 1
  • 1
  • 10

2 Answers2

2

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.

Mahesh Patil
  • 1,529
  • 1
  • 11
  • 22
0

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.

Bjoern
  • 15,934
  • 4
  • 43
  • 48