Solved

Cant start binary logging with mysql 5.1 community editon

Posted on 2014-10-24
1
276 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now