MySQL Forums
Forum List  »  Backup

MySQL enterprise Backup throwing connection errors
Posted by: Abhilash Shah
Date: July 30, 2013 05:41PM

Hello,

We have mysql enterprise running and i just installed mysql enterprise backup 3.8.2 on RHEL 6.4 64 bit. I am trying to execute the mysqlbackup and it is giving the below error:
[root@d01-aadb02 meb-3.8.2-rhel4-x86-64bit]# mysqlbackup -u backup-p --backup_dir=/home/ashah/dumps backup
MySQL Enterprise Backup version 3.8.2 [2013/06/18]
Copyright (c) 2003, 2012, Oracle and/or its affiliates. All Rights Reserved.

mysqlbackup: INFO: Starting with following command line ...
mysqlbackup -u backup -pxxxxxxxxxxxxxx --backup_dir=/home/ashah/dumps backup

130730 23:32:33 mysqlbackup: WARNING: Can not establish connection to mysql server.
Connection open fails with error "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
mysqlbackup: ERROR: Connection initialization error.

mysqlbackup failed with errors!

errors!

However, i am able to connect to database using the same credentials for user backup. I am not sure why this is happening. Is there a way to resolve thiss?

I have also provided the necessary grants to root for mysqlbackup.

Any help is appreciated

Thanks,
Abhilash



Edited 2 time(s). Last edit at 07/30/2013 09:30PM by Abhilash Shah.

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL enterprise Backup throwing connection errors
5606
July 30, 2013 05:41PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.