Skip to content

[Improvement] Manually create the database separately, and remove the database creation statement from the table creation statement, in order to control user permissions for database operations #4333

@niumy0701

Description

@niumy0701

Search before asking

  • I had searched in the issues and found no similar issues.

Java Version

Manually create the database separately, and remove the database creation statement from the table creation statement, in order to control user permissions for database operations

Scala Version

2.11.x

StreamPark Version

2.1.6

Flink Version

1.18

Deploy mode

None

What happened

For security reasons, business database users should not have the permission to create databases. Therefore, a user with the permission to create databases should first create a database separately, and then grant permissions to the business database users before creating tables

Error Exception


Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!(您是否要贡献这个PR?)

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions