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

Does ClickHouseHTTP support port 18123? #3

Open
WanchuangZhu opened this issue Dec 16, 2024 · 1 comment
Open

Does ClickHouseHTTP support port 18123? #3

WanchuangZhu opened this issue Dec 16, 2024 · 1 comment

Comments

@WanchuangZhu
Copy link

WanchuangZhu commented Dec 16, 2024

I tried to connect to clickhouse database via port 18123. It returns an error message, saying: "the user Not enough privileges". I checked I have the full access.
How can I fix this?

The full error message is below:

Error in .local(conn, statement, ...) :
Code: 497. DB::Exception: user: Not enough privileges. To execute this query, it's necessary to have the grant SHOW DATABASES ON default.*. (ACCESS_DENIED) (version 24.3.2.23 (official build))

@patzaw
Copy link
Owner

patzaw commented Dec 16, 2024

Hi

The error is raised by ClickHouse itself and not the ClickHouseHTTP R package. It means that you could connect to the database but you don't have the privileges to run the query on the database.
If you think that you have full access to your ClickHouse instance, you should check if you connect to the right ClickHouse instance with the right user name. You can check your privileges with: dbGetQuery(con, "SHOW GRANTS")

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

2 participants