搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【多项选择题】

A MySQL replication slave is set up as follows: User all InnoDB tables<br /> Receives ROW-based binary logs Has the read-only option<br /> The replication slave has been found in an error state.<br /> You check the MySQL error log file and find the following entries:<br /> 2013-08-27 13:55:44 9056 [ERROR] Slave SQL: Could not execute Write_rows event on table test.tl; Duplicate entry &lsquo;3&rsquo; for key&rsquo;PRIMARY&rsquo; , Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event&rsquo;s master log 56_master-bin.000003, end_log_pas 653, Error_code: 1062<br /> 2013-08-27 13:55:44 9056 [Warning] Salve: Duplicate entry &lsquo;3&rsquo; for key &lsquo;PRIMARY&rsquo;<br /> Error_code: 1062<br /> 2013-08-27 13:55:44 9056 [ERROR] Error running query, slave SQL thread aborted. Fix the<br /> problem, and restart the slave SQL thread with &ldquo;SLAVE START&rdquo;, We stopped at log &lsquo;56_masterbin.000003&rsquo; position 496 What are two possible causes for this error to occur?(

A、A.The slave was created with mysqldump –u root –p – skip-lock-table—all-databases > /data/data.sql

B、B.The slave user does have INSERT, UPDATE, or DELETE permission and cannot execute the write_rows function

C、C.For tables with UNIQUE keys, statement-based replication must be used maintain integrity

D、D.The root user on the slave has executed FLUSH LOGS, causing the relay-log to doublewrite

E、E.The applications have the SUPER privilege, which allows them to update rows

更多“A MySQL replication slave is set up as follows: User all InnoDB tables<br /> Receives ROW-based binary logs Has the read-only option<br /> The replication slave has been found in an error state.<br /> You check the MySQL error log file and find the following entries:<br /> 2013-08-27 13:55:44 9056 [ERROR] Slave SQL: Could not execute Write_rows event on table test.tl; Duplicate entry &lsquo;3&rsquo; for key&rsquo;PRIMARY&rsquo; , Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the event&rsquo;s master log 56_master-bin.000003, end_log_pas 653, Error_code: 1062<br /> 2013-08-27 13:55:44 9056 [Warning] Salve: Duplicate entry &lsquo;3&rsquo; for key &lsquo;PRIMARY&rsquo;<br /> Error_code: 1062<br /> 2013-08-27 13:55:44 9056 [ERROR] Error running query, slave SQL thread aborted. Fix the<br /> problem, and restart the slave SQL thread with &ldquo;SLAVE START&rdquo;, We stopped at log &lsquo;56_masterbin.000003&rsquo; position 496 What are two possible causes for this error to occur?(”相关的问题
第1题

AA.Mysql NDB Cluster  B、B.Mysql Replication  C、C.Distributed Replicated Block Device (DRBD) and Mysql  D、D.Windows Cluster and Mysql  E、E.Solaris Cluster and Mysql  

点击查看答案
第2题

AMySQL Replication  B、Distributed Replication Block Device  C、Windows Server Failover Clustering  D、MySQL Cluster  

点击查看答案
第3题

A、Both technologies guarantee an identical copy of data on the secondary node  B、Only MySQL can maintain a time-delayed copy of data on the secondary node  C、Both technologies use the TCP/IP stack as their primary transmission medium  D、DRBD uses shared-disk technology  

点击查看答案
第4题

A、The master.info and relay.info files  B、The relay log files  C、The relay index file  D、Mysql.slave_master_info table  E、Mysql.slave_relay_log_info table  F、Mysql.slave_worker_info table  

点击查看答案
第5题

Amysql_db_query与mysql_query在执行sql语句后的返回值是一样的,成功返回资源号,失败返回FALSE  B、不能用mysql_query函数临时在另一个数据库上执行sql语句,而mysql_db_query可以  C、mysql_db_query不会切换回先前连接到的数据库  D、mysql_query在功能上等于mysql_select_db()+mysql_db_query()  

点击查看答案
第6题

AA.mysql_ping  B、B.mysql_status  C、C.mysql_stat  D、D.mysql_info  

点击查看答案
第7题

AA.mysql_select_db  B、B.mysql_connect  C、C.mysql_query  D、D.mysql_fetch_field  

点击查看答案
第8题

Amysql_fetch_row  B、mysql_select_db  C、mysql_query  D、mysql_connect  

点击查看答案
第9题

AMYSQL是真正多线程、单用户的数据库系统  B、MYSQL是真正支持多平台的  C、MYSQL完全支持ODBC  D、MYSQL可以在一次操作中从不同的数据库中混合表格  

点击查看答案
第10题

Amysql_fetch_row  B、mysql_rowid  C、mysql_num_rows  D、mysql_fetch_array  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服