您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

Mysql:Changes in MySQL 5.6.34 (2016-10-12, General Availability):secure-file-priv

bubuko 2022/1/25 20:01:51 mysql 字数 5532 阅读 691 来源 http://www.bubuko.com/infolist-5-1.html

Changes in MySQL 5.6.34 (2016-10-12, General Availability) Security Notes Incompatible Change: The secure_file_priv system variable is used to limit t ...

Changes in MySQL 5.6.34 (2016-10-12, General Availability)

Security Notes

  • Incompatible Change: The secure_file_priv system variable is used to limit the effect of data import and export operations. The following changes have been made to how the server handles this variable:

    • secure_file_priv can be set to NULL to disable all import and export operations.

    • The server checks the value of secure_file_priv at startup and writes a warning to the error log if the value is insecure. A non-NULL value is considered insecure if it is empty, or the value is the data directory or a subdirectory of it, or a directory that is accessible by all users. If secure_file_priv is set to a nonexistent path, the server writes an error message to the error log and exits.

    • Previously, the secure_file_priv system variable was empty by default. Now the default value is platform specific and depends on the value of the INSTALL_LAYOUT CMake option, as shown in the following table.

      INSTALL_LAYOUT Value Default secure_file_priv Value
      STANDALONE, WIN NULL
      DEB, RPM, SLES, SVR4 /var/lib/mysql-files
      Otherwise mysql-files under the CMAKE_INSTALL_PREFIX value
    • To specify the default secure_file_priv value explicitly if you are building from source, use the new INSTALL_SECURE_FILE_PRIVDIR CMake option. To specify a directory for the embedded server, set the new INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR option. Its default value is NULL.

    (Bug #24679907, Bug #24695274, Bug #24707666)

 

Mysql:Changes in MySQL 5.6.34 (2016-10-12, General Availability):secure-file-priv

原文:https://www.cnblogs.com/jinzhenshui/p/12590947.html


如果您也喜欢它,动动您的小指点个赞吧

除非注明,文章均由 laddyq.com 整理发布,欢迎转载。

转载请注明:
链接:http://laddyq.com
来源:laddyq.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


联系我
置顶