Solved

Cant start binary logging with mysql 5.1 community editon

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Introduction In this installment of my SQL tidbits, I will be looking at parsing Extensible Markup Language (XML) directly passed as string parameters to MySQL 5.1.5 or higher. These would be instances where LOAD_FILE (http://dev.mysql.com/doc/refm…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

808 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