MySQL Forums
Forum List  »  Backup

Re: Unable to connect to Mysql after restore from backup
Posted by: Roni Alboim
Date: January 23, 2012 06:28AM

OK, found the answer:

http://www.tech-recipes.com/rx/762/solve-cant-connect-to-local-mysql-server-through-socket-tmpmysqlsock/

Add:

[client]
socket=/var/lib/mysql/mysql.sock

to /etc/my.cnf

TX

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Unable to connect to Mysql after restore from backup
2351
January 23, 2012 06:28AM


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.