Xtrabackup link not on MySQL problem

Source: Internet
Author: User

First look at the question:

[Email protected] ~]# Innobackupex--user=root--password=131417/backup

InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, Innobase Oy
and Percona LLC and/or its affiliates 2009-2013. All rights Reserved.

This software is published under
The GNU general public LICENSE Version 2, June 1991.

Get the latest version of Percona Xtrabackup, documentation, and help resources:
http://www.percona.com/xb/p

150712 22:29:59 innobackupex:executing A version check against the server ...
150712 22:29:59 innobackupex:connecting to MySQL server with DSN ' dbi:mysql:;mysql_read_default_group=xtrabackup ' as ' ro OT ' (using Password:yes).
Innobackupex:got a fatal error with the following Stacktrace:at/usr/bin/innobackupex line 3011.
main::mysql_connect (' Abort_on_error ', 1) called At/usr/bin/innobackupex line 1551
innobackupex:Error:Failed to connect to MySQL server:dbi connect ('; Mysql_read_default_group=xtrabackup ', ' root ', ...) Failed:can ' t connect to local MySQL server through sockets '/var/lib/mysql/mysql.sock ' (2) At/usr/bin/innobackupex Line 2 995.
150712 22:29:59 innobackupex:connecting to MySQL server with DSN ' dbi:mysql:;mysql_read_default_group=xtrabackup ' as ' ro OT ' (using Password:yes).
Innobackupex:got a fatal error with the following Stacktrace:at/usr/bin/innobackupex line 3011.
Main::mysql_connect (' Abort_on_error ', 1) called At/usr/bin/innobackupex Line 1570
innobackupex:Error:Failed to connect to MySQL server:dbi connect ('; Mysql_read_default_group=xtrabackup ', ' Root ',...) Failed:can ' t connect to local MySQL server through sockets '/var/lib/mysql/mysql.sock ' (2) At/usr/bin/innobackupex Line 2 995.

--------------------------------------------------------------------------------------------------------------- -----

As can be known from above, Innobackupex is linked up by means of a socket. Find a way to make it without a socket.

Innobackupex--user=root--password=131417--host=127.0.0.1/backup

Xtrabackup link not on MySQL problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.