paulpierre / informer

A Telegram Mass Surveillance Bot in Python

Home Page:https://www.twitter.com/paulpierre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error changing mysql port

v1nc opened this issue · comments

commented

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)

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