misp icon indicating copy to clipboard operation
misp copied to clipboard

Access denied to mysql database

Open mccore opened this issue 1 year ago • 0 comments

Hello,

I am trying to set up MISP as a stack inside Portainer. The only other stack running is OpenCTI which is running properly. When using the default docker compose file and only changing the port on lines 58 and 66 from 8080 to 8000 the misp module is unable to start properly and produces the below output. Could you please tell me what I am doing wrong? I changed the port because 8080 is in use by OpenCTI.

Thank you.

====================================== MISP develop container image provided by National Cyber and Information Security Agency of the Czech Republic In case of any problem with this image, please fill issue at https://github.com/NUKIB/misp/issues ====================================== Warning: 'SECURITY_SALT' environment variable should be at least 32 chars long Setting system policy to DEFAULT:NO-SHA1 Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. No syntax errors detected in /var/www/MISP/app/Config/config.php No syntax errors detected in /var/www/MISP/app/Config/database.php No syntax errors detected in /var/www/MISP/app/Config/email.php K [12-Sep-2023 17:15:43] NOTICE: configuration file /etc/php-fpm.conf test is successful 2023-09-12 17:15:43,503 - INFO: Connecting to MySQL server mysql:3306 2023-09-12 17:15:43,505 - INFO: Waiting for database connection... 2023-09-12 17:15:43,505 - INFO: (1045, "Access denied for user 'misp'@'10.0.18.4' (using password: YES)") 2023-09-12 17:15:44,506 - INFO: Waiting for database connection... 2023-09-12 17:15:44,506 - INFO: (1045, "Access denied for user 'misp'@'10.0.18.4' (using password: YES)") 2023-09-12 17:15:45,507 - INFO: Waiting for database connection... 2023-09-12 17:15:45,507 - INFO: (1045, "Access denied for user 'misp'@'10.0.18.4' (using password: YES)") 2023-09-12 17:15:46,508 - INFO: Waiting for database connection... 2023-09-12 17:15:46,508 - INFO: (1045, "Access denied for user 'misp'@'10.0.18.4' (using password: YES)") 2023-09-12 17:15:47,509 - INFO: Waiting for database connection... 2023-09-12 17:15:47,509 - INFO: (1045, "Access denied for user 'misp'@'10.0.18.4' (using password: YES)") 2023-09-12 17:15:48,510 - INFO: Waiting for database connection... 2023-09-12 17:15:48,510 - INFO: (1045, "Access denied for user 'misp'@'10.0.18.4' (using password: YES)") 2023-09-12 17:15:49,511 - INFO: Waiting for database connection... 2023-09-12 17:15:49,511 - INFO: (1045, "Access denied for user 'misp'@'10.0.18.4' (using password: YES)") 2023-09-12 17:15:50,512 - INFO: Waiting for database connection... 2023-09-12 17:15:50,512 - INFO: (1045, "Access denied for user 'misp'@'10.0.18.4' (using password: YES)") 2023-09-12 17:15:51,513 - INFO: Waiting for database connection... 2023-09-12 17:15:51,513 - INFO: (1045, "Access denied for user 'misp'@'10.0.18.4' (using password: YES)") 2023-09-12 17:15:52,513 - ERROR: Could not connect to database server mysql:3306 (1045, "Access denied for user 'misp'@'10.0.18.4' (using password: YES)")

image

mccore avatar Sep 12 '23 17:09 mccore