Error: datadir must be specified.

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error: datadir must be specified.相关的知识,希望对你有一定的参考价值。

报错:

[[email protected] xtrabackup]# innobackupex --defautls-file=/usr/local/mysql/my.cnf  --socket=/tmp/mysql.sock --copy-back /zabbixdb/2017-07-31_17-23-09

170731 17:57:38 innobackupex: Starting the copy-back operation


IMPORTANT: Please check that the copy-back run completes successfully.

           At the end of a successful copy-back run innobackupex

           prints "completed OK!".


innobackupex version 2.4.6 based on MySQL server 5.7.13 Linux (x86_64) (revision id: 8ec05b7)

Error: datadir must be specified.


解决方法:

手动输入命令

innobackupex --defautls-file=/usr/local/mysql/my.cnf  --socket=/tmp/mysql.sock --copy-back /zabbixdb/2017-07-31_17-23-09

以上是关于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的原因是啥?