Solved

Cant start binary logging with mysql 5.1 community editon

Posted on 2014-10-24
1
285 Views
Last Modified: 2014-10-30
I'm trying to start binary logging using MySQL 5.1-73 community edition.  I'm following the documentation and the only thing that appears to be needed is adding --log-bin="c:\MySQL logs\bin_log" to the startup parameters.  (On a side note I couldn't set these in services, I had to edit the registry).  However it won't start up.  I've tried copying the command string out of the registry to the command prompt and running it.  It works without the log-bin argument, but fails to start with it applied.

The command line looks like:
"C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" --bin-log="c:\MySQL logs\bin_log" MySQL

It does get far enough to create an index file.  There is one new log entry in the event log:
Event id 100: Aborting

Not terribly useful.

The docs says that there are reasonable defaults for all of the other options, and I'm fine with those.
We are using INNODB and the transaction isolation level is set to repeatable-read.

Am I doing something wrong here, or is this a function that's not available in my situation?
0
Comment
Question by:geekdad1
1 Comment
 
LVL 7

Accepted Solution

by:
Stampel earned 500 total points
ID: 40403852
Edit "C:\Program Files\MySQL\MySQL Server 5.1\my.ini",  and set this into the mysqld section :
server-id=1
log-bin=mysqld-bin
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (http://www.sqlite.org/), A SQLite Tidbit: Quick Numbers Table Generation (http://www.experts-exchange.com/A_3570.htm…
More Fun with XML and MySQL – Parsing Delimited String with a Single SQL Statement Are you ready for another of my SQL tidbits?  Hopefully so, as in this adventure, I will be covering a topic that comes up a lot which is parsing a comma (or other…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question