Conecting to MySQL

Guilherme Campos guilhermecamposbh at gmail.com
Tue Aug 9 11:45:33 EDT 2022


Hi Igor,

Accessing mysql-workbench it appeared new error messages when I clicked
Server Status.

I created my database on MySQL Workbench . Is that your question?


[image: image.png]

[image: image.png]


Em ter., 9 de ago. de 2022 às 12:36, Igor Korot <ikorot01 at gmail.com>
escreveu:

> 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 <axy at 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
> >
>


More information about the Python-list mailing list