因为不能直接在服务器上面调试,就把数据库复制到本地。但是在执行sql,插入数据时,同样的语句,在服务器上面没有报错,在本机报错:Data truncated for column '字段名' at row 1 表结构如下: CREATE TABLE db_member...
Category : 维护
nginx cache缓存机制设置
配置文件主要添加了三行:proxy_cache_path /usr/local/nginx/cache levels=1:2 keys_zone=cache_one:500m inactive=1d max_size=30g;proxy_cache_path:表示缓存文件存...