sqlyog报错1251
时间: 2023-10-25 20:29:15 浏览: 100
sqlyog报错1251是指无法连接mySql数据库的错误。该错误通常是由于max_allowed_packet和net_buffer_length这两个变量的值设置过小导致的。解决方法是通过在sqlyog中执行以下命令来修改这两个变量的值:
set global max_allowed_packet=10000000;
set global net_buffer_length=10000;执行完这两句后,再次导入sql文件即可解决问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [SQLyog 链接MYSQL 8.0错误代码1251](https://blog.csdn.net/qq_42695460/article/details/126438752)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [sqlyog导入数据库脚本报错](https://download.csdn.net/download/weixin_38730821/13689491)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [使用sqlyog连接 Mysql 出现1251错误](https://blog.csdn.net/weixin_44901190/article/details/125413925)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文