wamp MySQL ver 5.6.17, .
my.ini . [mysqld]. log-bin=C:\Your_Dir_Here [mysqld]. MySQL. , MySQL. SHOW BINARY LOGS;
:
+------------------+-----------+
| Log_name | File_size |
+------------------+-----------+
| MySQL_Log.000001 | 120 |
+------------------+-----------+
1 row in set (0.00 sec)
Note
I do not know exactly how it works log-bin, but I would recommend an absolute path so that you know exactly where your log files will be. In addition, your MySQL installation will not read the file my.iniuntil the services are restarted.
Further reading
http://dev.mysql.com/doc/refman/5.6/en/binary-log.html
This link has a lot to do with binary logs. It is literally too much for me to even disguise.
If I missed something or if I am vague, leave a comment and I will try to answer.
source
share