【MySQL】目录、文件权限问题

详情如下:

$ cat /usr/local/mysql/data/Phoenix-slow.log
cat: /usr/local/mysql/data/Phoenix-slow.log: Permission denied

解决方法:修改权限

$ sudo chown -R _mysql:staff /usr/local/mysql/data

参考:https://stackoverflow.com/questions/36621026/mysql-not-launching-data-user-local-err-permission-denied

posted @ 2018-05-28 00:36  WriteOnRead  阅读(333)  评论(0编辑  收藏  举报