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

mysql数据库报错1062_【1062错误 mysql】mysql gt 插 进 helei 文字 值 iii 查询 好 1 行 受影响了吗 0 28 秒 mysql 选择 从 le ID 文本 1 a 2 b 3 抄送 4 e 5 Ff 6 吗 g 7 h 8 ii

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 :?

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 :?

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 :?

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 :? ? 09:12:02

? Master_SSL_Crl:

? Master_SSL_Crlpath:

?检索到的GTid_Set:

Executed_Gtid_Set:

自动位置:? 0

1?行?在

组? (0.00秒)

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/177855.html原文链接:https://javaforall.net

(0)
上一篇 2026年3月26日 下午6:35
下一篇 2026年3月26日 下午6:36


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号