Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access denied to mysql database #122

Open
mccore opened this issue Sep 12, 2023 · 0 comments
Open

Access denied to mysql database #122

mccore opened this issue Sep 12, 2023 · 0 comments

Comments

@mccore
Copy link

mccore commented Sep 12, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant