Skip to content

SQLAlchemy connection issue (1045, "Access denied for user 'root'@'localhost'") #5188

@jm9azuma

Description

@jm9azuma

Describe the bug:
I have installed sqlmap and trying to use it to do the penetration testing to mysql database which under the Docker. But I got failed after running below script.

Reproduce the error:

  1. Under the folder sqlmap-dev
  2. Execute the script "python sqlmap.py -d "mysql://root:12345678@localhost:3306/testingdb" -f --banner --dbs --users"
  3. Error Message: [CRITICAL] SQLAlchemy connection issue ('OperationalError: (MySQLdb.OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)")')

Tried
(1) Allow the port 3306 in firewall
(2) Used computer hostname, IP address (i.e.: 127.0.0.1) instead of localhost

Screenshots
If applicable, add screenshots to help explain your problem.

Running environment:

Thank you for your time to looking at my issue

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions