首页 > 数据库技术 > 详细

The error means mysqld does not have the access rights to the directory.

时间:2015-11-26 01:36:11      阅读:1447      评论:0      收藏:0      [点我收藏+]


错误提示:

The error means mysqld does not have the access rights to the directory.

tail /var/log/mysqld.log

151125 18:21:50 mysqld_safe Starting mysqld daemon with databases from /oradata/mysql
151125 18:21:50 [Note] /usr/sbin/mysqld (mysqld 5.5.46) starting as process 57423 ...
151125 18:21:50 [Warning] Can‘t create test file /oradata/mysql/DPI-XZ-cloud-db-1.lower-test
151125 18:21:50 [Warning] Can‘t create test file /oradata/mysql/DPI-XZ-cloud-db-1.lower-test
151125 18:21:50 [Note] Plugin ‘FEDERATED‘ is disabled.
151125 18:21:50 InnoDB: The InnoDB memory heap is disabled
151125 18:21:50 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151125 18:21:50 InnoDB: Compressed tables use zlib 1.2.3
151125 18:21:50 InnoDB: Using Linux native AIO
151125 18:21:50 InnoDB: Initializing buffer pool, size = 4.0G
151125 18:21:50 InnoDB: Completed initialization of buffer pool
151125 18:21:50  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create‘.
InnoDB: Cannot continue operation.
151125 18:21:50 mysqld_safe mysqld from pid file /oradata/mysql/DPI-XZ-cloud-db-1.pid ended

解决方案:setenforce 0 

本文出自 “Unix-like” 博客,请务必保留此出处http://alipay.blog.51cto.com/7119970/1716850

The error means mysqld does not have the access rights to the directory.

原文:http://alipay.blog.51cto.com/7119970/1716850

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!