Skip to content

special character in password of redshift like * cause create database failed #32664

Open
@Zhaohe-Ji

Description

@Zhaohe-Ji

Bug description

  1. login superset
  2. click "+DATABASE"
  3. choose PostgreSQL
  4. enter host of redshift hostname and port 5439, user name and password BELYGmqy280*(contains a asterisk at the end, the password is auto-generated by redshift)
  5. click "Connect" and error will show

Database Creation Error
We are unable to connect to your database. Click "See more" for database-provided information that may help troubleshoot the issue.

See more

  1. click See more, will see "unable to create the database"

my superset version is apachesuperset.docker.scarf.sh/apache/superset:4.0.1

The error disappear when I change the password to one with no special character

Screenshots/recordings

No response

Superset version

4.0.2

Python version

I don't know

Node version

I don't know

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions