...
In Windows XP the file you need to edit is likely in, C: > Program Files > MySQL > MySQL Server (5.X0) > my
Go to the section:
...
In Windows 7 the file you need to edit is likely in, C: > Program Files (x86) > MySQL > MySQL Server (5.X0) > my
Go to the section:
...
#logging
log-error = "c:/mysql_error.log"
general-log=1
general-log-file = lo = "c:/general.log"
Info | ||
---|---|---|
| ||
Note that you can place these files wherever you want, as long as the folder exists before hand, otherwise mysql will fail to start. |
Info | ||
---|---|---|
| ||
These changes are for mysql 5.0, if your version is 5.1 log = "c:/general.log" must be changed to general-log-file = "c:/general.log" |