#210513 15:12:23 server id 1 end_log_pos 782 CRC32 0x07c34b3e Query thread_id=8 exec_time=1 error_code=0 Xid = 47 use `learn`/*!*/; SET TIMESTAMP=1620889943/*!*/; SET @@session.pseudo_thread_id=8/*!*/; SET @@se
有了这个选项,用户能够知道输出对于运行REQUIRE_ROW_FORMAT = 1的通道是有效的。 该选项还可以防止mysqlbinlog打印与内部变量pseudo_thread_id相关的指令。如果配置了权限检查,则仅在基于行的流上不需要这些权限,它们将需要复制回放线程中的额外权限。 摘要 为了保护您的服务器免受基于语句的复制流及其中允许的事件常...
*/;#at 230#210505 18:17:53 server id 1 end_log_pos 314 CRC32 0x7eaa39b9 Query thread_id=8 exec_time=0 error_code=0SET TIMESTAMP=1620209873/*!*/; SET@@session.pseudo_thread_id=8/*!*/; SET@@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_check...
thread_id=4 exec_time=0 error_code=0 SET TIMESTAMP=1497000703/*!*/; SET @@session.pseudo_thread_id=4/*!*/; SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1/*!*/; SET @@session.sql_mode=1342177280*!*/...
pseudo_thread_id=14/*!*/; SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1/*!*/; SET @@session.sql_mode=1168113696/*!*/; SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/; /*...
SET @@session.pseudo_thread_id=5/*!*/; SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1/*!*/; SET @@session.sql_mode=0/*!*/; SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*...
last_insert_id lc_time_names pseudo_thread_id sql_auto_is_null time_zone timestamp unique_checks For information about determining system variable scope, seeSection 7.1.9, “Using System Variables”. For information about how replication treatssql_mode, seeSection 19.5.1.39, “Replication and Var...
SET @@session.pseudo_thread_id=1/*!*/ 根据以上截取结果第二行,进行解释二进制日志内容 1) 时间点: 151130 12:43:35 2) 服务器ID: server id 1 服务器ID主要用于标记日志产生的服务器,主要用于双主模型中,互为主从,确保二进制文件不会被相互循环复制 ...
thread_id=1:会话线程创建的语句 exec_time=0: 执行时长,单位为秒 error_code=0: 错误代码 0为没有错误 #环境预设再下面就是sql语句了 SETTIMESTAMP=1396253401/*!*/; SET@@session.pseudo_thread_id=1/*!*/; SET@@session.foreign_key_checks=1, @@session.sql_auto_is_null=0,@@session.unique_...
mysql> SELECT CONNECTION_ID(); -> 23786 Warning Changing the session value of the pseudo_thread_id system variable changes the value returned by the CONNECTION_ID() function. CURRENT_ROLE() Returns a utf8mb3 string containing the current active roles for the current session, separated by ...