Traceback (most recent call last): File "preparabanco.py", line 3, in conn = MySQLdb.connect(user='root', passwd='admin', host='127.0.0.1', port=3306) File "C:\Users\lenito\Anaconda3\envs\untitled1\lib\site-packages\MySQLdb_init.py", line 86, in Connect return Connection(args, *kwargs) File "C:\Users\lenito\Anaconda3\envs\untitled1\lib\site-packages\MySQLdb\connections.py", line 204, in init super(Connection, self).init(args, *kwargs2) _mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL server on '127.0.0.1' (10061)")