摘要: https://www.cnblogs.com/jimmyhe/p/10827710.html 阅读全文
posted @ 2021-02-20 15:38 回忆唯U你 阅读(50) 评论(0) 推荐(0)
摘要: 使某服务自动启动 systemctl enable httpd.service 使某服务不自动启动 systemctl disable httpd.service 检查服务状态 systemctl status httpd.service 显示所有已启动服务 systemctl list-units 阅读全文
posted @ 2021-02-20 15:26 回忆唯U你 阅读(146) 评论(0) 推荐(0)
摘要: 1. lsof命令 lsof(list open files)是一个列出当前系统打开文件的工具。 lsof 查看端口占用语法格式: lsof -i:端口号 更多 lsof 的命令如下: lsof -i:8080:查看8080端口占用 lsof abc.txt:显示开启文件abc.txt的进程 lso 阅读全文
posted @ 2021-02-20 15:17 回忆唯U你 阅读(189) 评论(0) 推荐(0)
摘要: 1.修改表的编码格式 ALTER TABLE `table` DEFAULT CHARACTER SET utf8; 2.修改字段编码格式 ALTER TABLE `table` CHANGE `字段1` `字段2` VARCHAR(36) CHARACTER SET utf8 NOT NULL; 阅读全文
posted @ 2021-02-20 15:08 回忆唯U你 阅读(2570) 评论(0) 推荐(1)
摘要: 删除外键约束: SET foreign_key_checks=0; 启动外键约束: SET foreign_key_checks=1; 阅读全文
posted @ 2021-02-20 15:03 回忆唯U你 阅读(232) 评论(0) 推荐(0)