zoukankan      html  css  js  c++  java
  • innobackupex 出现Unrecognized character x01; marked by

    centos 7.2

    mysql 5.7.16

    innobackupex version 2.4.6



    [root@Devops-mysql-150-115 sh]# innobackupex --defaults-file=/app/mysql/servers/etc/ --user=root --password=xxxxxx /backup/mysql/



    备份出现错误:(有2个提示)

    1. Unrecognized character x01; marked by <-- HERE after <-- HERE near column 1 at - line 1374.

    google搜索后说bug。

    170309 00:42:54 innobackupex: Starting the backup operation

    Failed to connect to MySQL server: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' 

    看这个不像。




    ####错误具体信息:

    IMPORTANT: Please check that the backup run completes successfully.

               At the end of a successful backup run innobackupex

               prints "completed OK!".


    Unrecognized character x01; marked by <-- HERE after <-- HERE near column 1 at - line 1374.

    170309 00:42:54 Connecting to MySQL server host: localhost, user: root, password: set, port: not set, socket: not set

    Failed to connect to MySQL server: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).


    ######  解决方法:

    指定sock文件位置就ok了


    innobackupex --defaults-file=/app/mysql/servers/etc/ --socket=/app/mysql/data/mysql.sock --user=root --password=xxxx /backup/mysql/


    备份成功


  • 相关阅读:
    原生JS实现无缝轮播
    原生JS模拟百度搜索框
    2016年终总结:一份来自跨界喜剧人的告白
    PHP学习笔记
    html5吹牛扯淡篇,闲话内容。
    html5+css3+jquery完成响应式布局
    jquery的animate({})动画整理
    函数的使用和选择
    jquery函数理解与运用
    老生长谈的$.extend()方法
  • 原文地址:https://www.cnblogs.com/twodog/p/12141108.html
Copyright © 2011-2022 走看看