cuckoosandbox / cuckoo

Cuckoo Sandbox is an automated dynamic malware analysis system
http://www.cuckoosandbox.org
Other
5.56k stars 1.71k forks source link

CuckooDatabaseError #3191

Open SushmaExcel opened 3 years ago

SushmaExcel commented 3 years ago
My issue is:

Cuckoo doesn't connect to localhost even though MySQL80 is running with localhost

My Cuckoo version and operating system are:

Windows 10 , 64-bit , x86 In

This can be reproduced by:
The log, error, files etc can be found at:

Checking for updates... You're good to go!

Our latest blogposts:

Traceback (most recent call last): File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "c:\python27\lib\runpy.py", line 72, in _run_code exec code in run_globals File "C:\Python27\Scripts\cuckoo.exe__main.py", line 7, in File "c:\python27\lib\site-packages\click\core.py", line 716, in call__ return self.main(args, kwargs) File "c:\python27\lib\site-packages\click\core.py", line 696, in main rv = self.invoke(ctx) File "c:\python27\lib\site-packages\click\core.py", line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "c:\python27\lib\site-packages\click\core.py", line 889, in invoke return ctx.invoke(self.callback, ctx.params) File "c:\python27\lib\site-packages\click\core.py", line 534, in invoke return callback(args, *kwargs) File "c:\python27\lib\site-packages\click\decorators.py", line 17, in new_func return f(get_current_context(), args, **kwargs) File "c:\python27\lib\site-packages\cuckoo\main.py", line 321, in init cuckoo_init(logging.INFO, ctx.parent, cfg) File "c:\python27\lib\site-packages\cuckoo\main.py", line 185, in cuckoo_init Database().connect() File "c:\python27\lib\site-packages\cuckoo\core\database.py", line 465, in connect self._create_tables() File "c:\python27\lib\site-packages\cuckoo\core\database.py", line 473, in _create_tables "Unable to create or connect to database: %s" % e cuckoo.common.exceptions.CuckooDatabaseError: Unable to create or connect to database: (_mysql_exceptions.OperationalError) (2003, "Can't connect to MySQL server on '127.0.0.1' (10061)") (Background on this error at: http://sqlalche.me/e/e3q8)