mysql无法开启:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mysql'
2017-04-02 03:07
579 查看
sudo chown -RL root:mysql /usr/local/mysql
sudo chown -RL mysql:mysql /usr/local/mysql/data
sudo /usr/local/mysql/support-files/mysql.server start
出现如标题问题,可以执行以上三句命令行。
即可成开启mysql
sudo chown -RL mysql:mysql /usr/local/mysql/data
sudo /usr/local/mysql/support-files/mysql.server start
出现如标题问题,可以执行以上三句命令行。
即可成开启mysql
相关文章推荐
- mysql无法开启:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mysql'
- Warring the /usr/local/mysql/data directory is not owned by the 'mysql' or '_mysql' user
- 启动mysql 失败,“Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mysql' ”
- mac 下从设置启动mysql 失败,“Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mys
- mac 下从设置启动mysql 失败,“Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mys
- mac os Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mysql'
- Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mysql'的解决办法
- mac 在偏好设置启动mysql 失败,“Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_my
- mac 下从设置启动mysql 失败,“Warning:The /usr/local/mysql/data directory is not owned by
- mac mysql没法启动 Waring:The /usr/local/mysql/data directory is not owned by the mysql/_mysql
- Warning the user/local/mysql/data directory is not owned by the mysql user
- 解决问题:The directory '/Users/Parthenon/Library/Logs/pi' or its parent directory is not owned by the
- mysqld_safe启动报错 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executable
- mysqld_safe启动报错 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executable
- Directory /usr/local/hadoop/tmp/tmp/hadoop-root/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible
- #2002 - 服务器没有响应 (or the local MySQL server's socket is not ...
- MYSQL-执行“load data local infile”报错“The used command is not allowed with this MySQL version”
- Qt for Embedded Linux data directory is not owned by user xxxxh
- Qt for Embedded Linux data directory is not owned by user xxxxh
- The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0.