白天的影子

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2019年8月21日

摘要: 编译安装MariaDB 10.4.7,前面的步骤我就不复述了,一切正常没什么问题。 当执行到:scripts/mysql_install_db --basedir=/usr/local/mysql --datadir=/data/mysql --user=mysql,这时系统提示以下错误: chown: cannot access ‘/auth_pam_tool_dir’: No such file or directory Cannot change ownership of the '/auth_pam_tool_dir' directory to the 'mysql' user. Check that you have the necessary permissions and try again. 又是百度又是google的,半天也没解决问题,最后研究了代码,才有了下面的解决方案: 阅读全文
posted @ 2019-08-21 16:59 白天的影子 阅读(4181) 评论(0) 推荐(0)