Sometimes it may become necessary, to view logs from MySQL, this can include error logs, slow queries and even general queries altogether. They can be used for troubleshooting a system or enhancing performance.
...
#logging
log-error = "c:/mysql_error.log"
lo log = "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 | ||
---|---|---|
| ||
MySQL 5.6 is the current GA version. Use the following under the mysqld configuration.
|