A puma at large
Posted whaoC
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了A puma at large相关的知识,希望对你有一定的参考价值。
Pumas are large,cat-like animals which are found in America.When reports came into Landon Zoo that a wild puma was spotted only forty-five miles south of Landon,they were not taken seriously.However,as the evidence began to accumulate,experts from the zoo felt obliged to investigate, for the descriptions given by people who claimed to haven seen the puma were extraordinarily similar.
The hunt for the puma in a small village where a women picking blackberries saw a large cat only five yards from her. It immediately ran away when she saw it, and experts confirmed that a puma will not attack a humen being unless it is cornered. The search proved difficult, for the puma often was observed at one place in the morning and at another place in the evening. Wherever it went, it left behind it a trail dead deer and small animal like rabbits. Paw prints were seen at many places and puma fur was found clinging to bushes.Several people complained \'cat-like noise\' at night and a businessman on a fish trip saw the puma up a tree. The experts were now fully convinced that the animal was a puma, but where had it come from. As no puma was reported missing at any zoo in the country and this one must have been in the possession of private collector and somehow managed to escape. The hunt went on for several weeks, but the puma was not caught. It is disturbing to think that a dangerous wild animal is still at large in the quite contryside.
MySQL# [Err] 1118-Row size too large (> 8126)Lost connection to MySQL server at ‘reading initial’
1. [Err] 1118 - Row size too large (> 8126)
问题:在MySQL8.0的数据库中运行 sql文件导入数据时,报 Row size too large (> 8126)
原因:row size 其实就是所有字段的长度的总和,当数据表涉及的字段非常多,或者设计不合理时,可能会超过MySQL默认的 innodb_log_file_size 限制
解决方式:
-
找到MySQL的配置文件:my.ini 或者 my.cnf
-
在配置文件中找到 innodb_strict_mode 及 innodb_log_file_size(如果文件中没有则直接新增:建议在innodb出现的附近新增)
innodb_log_file_size=1024M innodb_strict_mode=0
-
配置完成后,重启MySQL服务即可
验证:通过命令行查询系统参数
show variables like '%innodb_strict_mode%'; -- innodb_strict_mode OFF
show variables like '%innodb_log_file_size%'; -- innodb_log_file_size 1073741824
2. Lost connection to MySQL server at ‘reading initial communication packet’
造成报错可能的原因:
-
服务器有防火墙,禁止3306端口访问
-
Windows:“控制面板” ——> “系统和安全” ——> “Windows Defender 防火墙” ——> “高级设置” ——> “入站规则”(或直接关闭防火墙(不建议))
-
Linux:
systemctl status firewalld # 查看防火墙状态 netstat -apnt | grep 3306 # 查看3306端口允许主机访问的范围 # 设置防火墙开放 3306端口 firewall-cmd --zone=public --add-port=3306/tcp --permanent # --zone 作用域 # --add-port=3306/tcp 添加端口 # --permanent 让配置永久生效,避免重启后失效
-
-
用户没有授权远程访问
没有配置 root@'%' 用户,所以无法使用 root 进行远程登录
CREATE USER 'root'@'%' IDENTIFIED BY '123456'; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
以上是关于A puma at large的主要内容,如果未能解决你的问题,请参考以下文章
insecticide|contradictions| at large|delay doing|
100130. USACO 2018 January Platinum鱼池逃脱Cow at Large
Large-scale cluster management at Google with Borg
HF-Net:From Coarse to Fine: Robust Hierarchical Localization at Large Scale
MySQL# [Err] 1118-Row size too large (> 8126)Lost connection to MySQL server at ‘reading initial’
MySQL# [Err] 1118-Row size too large (> 8126)Lost connection to MySQL server at ‘reading initial’