Hi, @OP, Can you try to connect with mysql-workbench? Also - you didn't answer my first question.
Are you using an ODBC wrapper or python module? Thank you. On Tue, Aug 9, 2022 at 10:27 AM Axy <a...@declassed.art> 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