Error: datadir must be specified
Posted mr_raptor
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error: datadir must be specified相关的知识,希望对你有一定的参考价值。
Xtrabackup恢复时报错’Error: datadir must be specified’
错误信息说,找不到datadir
原因是需要在my.cnf里mysqld下添加datadir
# this is only for the mysqld standalone daemon
[mysqld]
datadir=/usr/lib/mysql/
保存后,重启mysql即可
以上是关于Error: datadir must be specified的主要内容,如果未能解决你的问题,请参考以下文章
Error: datadir must be specified.
# Error in colSums(iris) : ‘x‘ must be numeric,# Error in rowSums(iris) : ‘x‘ must be numeric
Error creating bean with name xxxx,xxxx must be provided
Error in hist.default(data) : ‘x‘ must be numeric
解决:Error: Aesthetics must be either length 1 or the same as the data : fill
Expression must be a modifiable lvalue error in this code的原因是啥?