Yes, exactly that .. I replied from different account and my email was 
rejected. Just make sure that
your mysql is actually running. Depending on your OS, run netstat -an | grep 
3306 and this will tell
you whether socket is actually in listening mode or not. If it's not, your 
mysql is either not
running or you have a problem with the configuration.

On Tue, Aug 09, 2022 at 08:27:16AM -0700, Axy via Python-list wrote:

trying to connect to MYSQL it appears the error msg below:
InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306'
(111 Connection refused)
[image: conexao.png]
How can i fix that.?
What do you use for connection?
Does the firewall interfere with the connection?

Firewall usually causes connection to hang and timeout with no response.

But in this case connection looks immediately refused which means either port number is wrong or mysql is not listening on 127.0.0.1.


Axy

--
https://mail.python.org/mailman/listinfo/python-list

--
Daniel Ciprus                              .:|:.:|:.

[ curl -L http://git.io/unix ]

Attachment: signature.asc
Description: PGP signature

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to