Github open-source project introduction-use pygrok to easily parse strings (log, event ..)
Pygrok is an open-source Python String Parsing Library. github address: https://github.com/garyelephant/pygrok. As described on the project homepage, it can be used to parse logs and events in the string form and extract useful information from strings. This string parsing library supports regular expression matching.
Today, using Mysqlbinlog to recover data, this error has been encountered:
Error:error in Log_event::read_log_event (): ' Found invalid event in binary Log ', data_len:77, event_type:19Could not read entry at offset 306709:error in log format or read Error
After searching the internet, found that the default is to call the system installed by default Mysqlbinlo
The first step is to create the following two log tablesPress CTRL + C to copy the codePress CTRL + C to copy the code CREATE TABLE ' General_log ' ( ' event_time ' timestamp not NULL DEFAULT current_timestamp on UPDATE Current_ TIMESTAMP, ' user_host ' mediumtext not NULL, ' thread_id ' bigint (+) unsigned not null, ' server_id ' int (10) unsigned not NULL, ' command_type ' varchar ($) NOT null, ' argument ' medi
This error may be caused by the VS2010 component not being uninstalled cleanly,My approach is to:Uninstall the vs2012 firstThen uninstall the following components:Microsoft Visual C + + x64 RedistributableMicrosoft Visual C + + x86 redistributableMicrosoft Visual Studio Tools for Office Runtime (x64)Microsoft Visual Studio all Tools for Office Runtime (x64) Language Pack-Simplified ChineseNote: My computer is a win8.1 64bit systemThen re-install itVS2012 partial feature Installation failed---opr
Select the local service in the search results, determine, and check the Full Control permissions, to determine the exit can be.
When the permissions setting is complete, restart the Windows Event Log service.
Add a local service user to the following three folders and set Full Control permissions
%systemroot%logfiles
%systemroot%system32wbem
%systemroot%system32winevtlogs
Select three folders in turn
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.