MySQL Forums
Forum List  »  Utilities

2003: Can't connect to MySQL server on '127.0.0.1:3307' (111 Connection refused).
Posted by: Michael Shokery
Date: September 28, 2016 01:44PM

Hi all,

I am following this tutorial https://dev.mysql.com/doc/mysql-utilities/1.5/en/fabric-create-user.html

every time i use this command: sudo mysqlfabric group add my_group 127.0.0.1:3307

I get the following error:
Fabric UUID: 5ca1ab1e-a007-feed-f00d-cab3fe13249e
Time-To-Live: 1

ServerError: Error accessing server (127.0.0.1:3307): 2003: Can't connect to MySQL server on '127.0.0.1:3307' (111 Connection refused).

[name@computer/]$ sudo netstat -plutn | grep -i sql
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 22990/mysqld


I have found few suggestions which talk about privileges or using --bind-address=127.0.0.1 in my.cnf , however they didn't solve the issue.

any idea why I am getting this error?

Options: ReplyQuote


Subject
Views
Written By
Posted
2003: Can't connect to MySQL server on '127.0.0.1:3307' (111 Connection refused).
2602
September 28, 2016 01:44PM


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.