Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

& quot;Navicat import data report error 1153Mutual Gotapacketbiggerthanism 39 mismatch maxallowedpacketimport error 39

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Navicat Import Datagram error 1153-gotapacketbiggerthan maxallowedpacket bytes

Navicat Import data report error-1153-got a packet bigger than 'max_allowed_packet' bytes

Today, I made an error when importing backup database files with navicat:

Mysql error err [imp] 1153-got a packet bigger than 'max_allowed_packet' bytes

The default database file read and executed by mysql defaults to 16m for client and 1m for server.

Solution:

(windows system)

Find the file my.ini in the mysql installation directory, search for [mysqld], and add a sentence below it.

Max_allowed_packet=16m

Restart the mysql service (right-click computer-manage-Services-MySql-- restart this service)

This size is set according to your own sql file size.

(Linux system is looking for my.cnf)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report