摘要: 一、数据库的完整性约束 1. 主键:primary key 2. 外键:foreign key 3. 非空:not null 4. 检查:enum/set 5. 默认值:default 6. 唯一:unique 7. 自增长:auto_increment 二、数据库的三大范式 1. 确保每列保持原子 阅读全文
posted @ 2020-01-12 19:47 badbadboy 阅读(1395) 评论(0) 推荐(0) 编辑
摘要: 动态实时查看后端日志:tail -f xx 查看端口号是否被占用:netstat -anp | grep 端口号 启动tomcat:sh startup.sh 关闭tomcat:sh shutdown.sh 查看xx的进程:ps -ef | grep xx 强制关闭xx的进程:kill -9 xx 阅读全文
posted @ 2020-01-12 12:53 badbadboy 阅读(177) 评论(0) 推荐(0) 编辑