symbolic-links
时间: 2023-09-14 21:14:33 浏览: 64
Symbolic links, also known as symlinks or soft links, are file system objects that link to another file or directory in the file system. They act as a pointer to the original file or directory, allowing you to access it from a different location. Symbolic links are useful for creating shortcuts to files or directories that are frequently used, or for referencing files or directories that are located in different parts of the file system. Unlike hard links, symbolic links can point to files or directories on different file systems.
相关问题
Mysql symbolic-links=0 配置有什么用
在MySQL中,`symbolic-links`参数是用于控制是否允许数据库中的符号链接的设置。当该参数设置为0时,MySQL将拒绝在数据目录中使用符号链接,以避免可能的安全漏洞。如果该参数设置为1,则MySQL将允许在数据目录中使用符号链接。
当数据库中使用符号链接时,可能会导致数据的存储位置不确定,这可能会导致数据丢失或损坏。此外,符号链接可能会被用于欺骗MySQL服务器,以便访问MySQL不应该访问的文件。
因此,将`symbolic-links`参数设置为0是一种安全措施,以确保MySQL数据目录中不会使用符号链接。
Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it is deprecated and will be removed in a future release.
这是一个警告信息,意思是在将来的版本中,使用--skip-symbolic-links选项将被移除,建议不要使用它。--skip-symbolic-links选项是用来禁用符号链接的,这意味着在备份或复制文件时,符号链接将被忽略。建议使用其他选项来代替--skip-symbolic-links,具体取决于你所使用的工具和场景。
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)