Skip to content

Connection denied despite username/password correct #235

@covelloz

Description

@covelloz

bug description

I'm trying to connect to a non-production AWS RDS database instance (mysql).
I am getting a connection error. The host, driver, port, database, username, and password are all correct - I've confirmed. I can connect to it in other programs (i.e IntelliJ) and directly in the terminal via mysql command line tool.

Also, another odd thing is that I can connect to another AWS RDS database instance (with rainfrog) that is purely a reader instance. The one that I'm failing to connect to is a writer instance. Are there any error logs I can look at besides what is outputted to console? Any debugging tips? I wouldn't mind building from source and debugging the program if I can get some direction.

technical details

rainfrog error: Something went wrong
Error:
   0: error returned from database: 1045 (28000): Access denied for user '<username>'@'<ip>' (using password: YES)
   1: 1045 (28000): Access denied for user '<username>'@'<ip>' (using password: YES)

Note: <redacted> username/ip

system info

  • macOS 26.1 (Darwin)
  • rainfrog 0.3.8-VERGEN_IDEMPOTENT_OUTPUT (2025-10-11)
  • Alacritty + zsh

crash logs

N/A

steps to reproduce

A) Try to connect using rainfrog, selecting db config by name, and copy-pasting the password.
or
B) Try to connect using rainfrog --url ...

expected behavior

If the host, driver, port, database, username, and password are all valid it should connect to the database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions