database
文章平均质量分 74
数据库
crayon-shin-chan
这个作者很懒,什么都没留下…
展开
-
mysql实战之使用软链接迁移数据目录
将目录移动到与 不同的文件系统时,需要创建一个 AppArmor 别名。如果跳过这一步,启动mysql会遇到权限问题。接下来创建新目录到旧目录的符号链接。将mysql数据目录移动到新位置。重启 apparmor 服务。...原创 2022-08-15 17:03:40 · 550 阅读 · 0 评论 -
mysql实战之使用加密连接
文档:https://dev.mysql.com/doc/refman/8.0/en/encrypted-connections.html 1.简介 通过MySQL客户端和服务器之间的未加密连接,可以访问网络的人可以监视您的所有流量,并检查在客户端和服务器之间发送或接收的数据。 当您必须以安全的方式在网络上移动信息时,不加密的连接是不可接受的。要使任何类型的数据都不可读,请使用加密。加密算法必须包含安全性元素,以抵抗多种已知的攻击,例如更改加密消息的顺序或两次重播数据。 MyS...原创 2021-03-27 18:10:59 · 871 阅读 · 0 评论 -
mysql实战之子查询
文档:https://dev.mysql.com/doc/refman/8.0/en/subqueries.html 1.简介 子查询是SELECT另一条语句中的一条语句。 支持SQL标准要求的所有子查询形式和操作,以及一些特定于MySQL的功能。 这是一个子查询的示例: SELECT * FROM user WHERE id = (SELECT userId FROM video where id = 1); SELECT * FROM user WHERE id =是外部...原创 2021-03-27 11:59:48 · 153 阅读 · 1 评论