commit by magit in emacs@2022-05-07 06:34:44

This commit is contained in:
Aborn Jiang 2022-05-07 06:34:46 +08:00
parent 6235886ba7
commit 90f7e5e9fc
1 changed files with 1 additions and 21 deletions

View File

@ -49,27 +49,7 @@ sudo systemctl start mysql.service
# 配置mysql
sudo mysql_secure_installation
/home/sancai/github/smes/docs/dump-sanmes-20220506.sq
/home/sancai/github/smes/docs/sys-log.sql
source /home/sancai/github/smes/docs/mes-materiel.sql
报错:
ERROR 1118 (42000): Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.
Query OK, 0 rows affected (0.00 sec)
解决方案:
https://mariadb.com/kb/en/troubleshooting-row-size-too-large-errors-with-innodb/
# reload nginx config
sudo service nginx reload
source /home/sancai/github/smes/docs/dump-sanmes-20220506.sql
# 备案 https://beian.aliyun.com/pcContainer/orderdetail?baOrderId=2035082396933
# 网址 http://smes.popkit.org/
https://www.jianshu.com/p/4eb59bb62a32
ip处理
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;