mysql数据库报错1062_【1062错误 mysql】

mysql \>?插?进? helei(文字)?值(``iii'');

查询?好,? 1?行?受影响了吗(0.28秒)

mysql \选择? *?从? le

+----+------+

|? ID? |?文本? |

+----+------+

| 1? |? a

|

| 2? |? b

|

| 3? |?抄送

|

| 4? |? e

|

| 5? |? Ff

|

| 6吗|? g

|

| 7? |? h

|

| 8? |? ii?

|

+----+------+

8?排?在?组? (0.00

秒)

mysql>?显示?奴隶

状态\\\\ G

****************************

1.?行?***************************

? Slave_IO_State :?等候?对于

主?至?发送?事件

Master_Host :? 192.168.1.250

主用户:? Mysync

Master_Port :? 2503306

Connect_Retry :? 60

Master_Log_File :? Mysql-bin.000005

Read_Master_Log_Pos :? 2509

? Relay_Log_File:

HE1-继电器箱.000005

Relay_Log_Pos :? 480

Relay_Master_Log_File :? Mysql-bin.000005

? Slave_IO_Running :?是

Slave_SQL_Running :?是

此时,从属库是正常的,但是由于从属库是私下插入数据的,因此它已经与主库不一致。如果主库此时也插入相同的数据

目前主库中没有8,iii记录

mysql \选择? *?从? le

+----+------+

|? ID? |?文本? |

+----+------+

| 1? |? a

|

| 2? |? b

|

| 3? |?抄送

|

| 4? |? e

|

| 5? |? Ff

|

| 6吗|? g

|

| 7? |? h

|

+----+------+

7?排?在?组? (0.00

秒)

mysql \ gt;显示?奴隶?状态\\\\ G

****************************

1.?行?***************************

? Slave_IO_State :?等候?对于

主?至?发送?事件

Master_Host :? 192.168.1.250

主用户:? Mysync

Master_Port :? 2503306

Connect_Retry :? 60

Master_Log_File :? Mysql-bin.000005

Read_Master_Log_Pos :? 2709

? Relay_Log_File:

HE1-继电器箱.000005

Relay_Log_Pos :? 480

Relay_Master_Log_File :? Mysql-bin.000005

? Slave_IO_Running :?是

Slave_SQL_Running :?没有

Replicate_Do_DB:

Replicate_Ignore_DB:

? Replicate_Do_Table:

? Replicate_Ignore_Table:

Replicate_Wild_Do_Table:

Replicate_Wild_Ignore_Table:

? Last_Errno :? 1062

Last_Error :?可以?不?执行? Write_rows?事件?上?表? Test.helei;

重复?条目? " 8"?对于?键? "主",?错误代码:? 1062 ;处理程序?错误

HA_ERR_FOUND_DUPP_KEY ;?该?事件" s?Master?Log?Mysql-bin.000005,?End_log_pos"

2678

? Skip_Counter :? 0

Exec_Master_Log_Pos :? 2509

Relay_Log_Space :? 851

直到条件:?没有

?直到日志文件:

直到Log_Pos :? 0

? Master_SSL_Allowed :?没有

? Master_SSL_CA_File:

? Master_SSL_CA_Path:

Master_SSL_Cert:

Master_SSL_Cipher:

? Master_SSL_Key:

Seconds_Behind_Master:空值

Master_SSL_Verify_Server_Cert:

没有

Last_IO_Errno :? 0

Last_IO_Error:

? Last_SQL_Errno :? 1062

? Last_SQL_Error :?可以?不

执行? Write_rows?事件?上?表? test.helei ;重复?条目? " 8"?对于?键

"主",?错误代码:? 1062 ;处理程序?错误? HA_ERR_FOUND_DUPP_KEY ;?该?活动

主?日志? mysql-bin.000005 , end_log_pos? 2678

Replicate_Ignore_Server_Ids:

? Master_Server_Id :? 2503306

Master_UUID:

f7c96432-f665-11e5-943f-000c2967a454

? Master_Info_File:

/data/mysql/master.info

SQL_Delay :? 0

SQL_Remaining_Delay :?空值

Slave_SQL_Running_State:

? Master_Retry_Count :? 86400

Master_Bind:

Last_IO_Error_Timestamp:

? Last_SQL_Error_Timestamp :? 160331? 09:12:02

? Master_SSL_Crl:

? Master_SSL_Crlpath:

?检索到的GTid_Set:

Executed_Gtid_Set:

自动位置:? 0

1?行?在

组? (0.00秒)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值