Error: 2003, "Can't connect to MySQL server on 'localhost' ([WinError 10061] No connection could be made because the target machine actively refused it)" #23
Hi,
When I run python app/harvester.py --force-start command after I migrate db of Harvester, I am getting this error.
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\sqlalchemy\engine\default.py", line 598, in connect
return self.dbapi.connect(*cargs, **cparams)
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\pymysql\connections.py", line 353, in init
self.connect()
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\pymysql\connections.py", line 664, in connect
raise exc
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'localhost' ([WinError 10061] No connection could be made because the target machine actively refused it)")
(Background on this error at: https://sqlalche.me/e/14/e3q8)
Hi, When I run
python app/harvester.py --force-start
command after I migrate db of Harvester, I am getting this error.How can I fix this problem?