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