paulpierre / informer

A Telegram Mass Surveillance Bot in Python
https://www.twitter.com/paulpierre
MIT License
1.44k stars 231 forks source link

Error changing mysql port #3

Closed v1nc closed 4 years ago

v1nc commented 4 years ago

I set the mysql port to 3306, but I still get this error:

raise errors.InterfaceError( sqlalchemy.exc.InterfaceError: (mysql.connector.errors.InterfaceError) 2003: Can't connect to MySQL server on '127.0.0.1:3320' (111 Connection refused)

paulpierre commented 4 years ago

Hi v1nc which script are you running? You must set this in both bot.py and the mysql connector string at the bottom of build_database.py