2019-05-22T10:05:03.099739Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-05-22T10:05:03.099742Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
2019-05-22T10:05:03.099745Z 0 [Note] InnoDB: Using Linux native AIO
2019-05-22T10:05:03.099886Z 0 [Note] InnoDB: Number of pools: 1
2019-05-22T10:05:03.099948Z 0 [Note] InnoDB: Using CPU crc32 instructions
2019-05-22T10:05:03.100898Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-05-22T10:05:03.106674Z 0 [Note] InnoDB: Completed initialization of buffer pool
2019-05-22T10:05:03.108118Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-05-22T10:05:03.118129Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2019-05-22T10:05:03.118160Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
想用个最新版的Redis Desktop Manager, 所以就安装了个snapd, 默认安装依赖apparmor, 重启后发现mysql 无法启动 ,
mysql报错:
目录权限一直都是mysql, 排查目录权限的问题,后台根据 https://www.jianshu.com/p/bf0355bf844f 修改了 /etc/apparmor.d/usr.sbin.mysqld 添加了自定义mysql的data目录, mysql 自定义目录还是无法启动 ,但是默认的目录就没有问题.
哪位大佬知道这个目录的权限怎么配置