| Summary: | Can't create mysql-entries for new tags | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Frank Hommes <freanki> |
| Component: | Database-Mysql | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | Hamsi2k |
| Priority: | NOR | ||
| Version First Reported In: | 1.5.0 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 1.6.0 | |
| Sentry Crash Report: | |||
|
Description
Frank Hommes
2010-10-14 18:36:53 UTC
Something goes wrong with your dbms configuration.
As the log output states you doesn't have enough privileges in the digikam schema:
>"UPDATE Tags SET rgt = rgt + 2 WHERE rgt > @myLeft;"
>Error messages: "Access denied; you need the SUPER privilege for this operation
>QMYSQL3: Unable to execute statement" 1227 2 "Access denied; you need the SUPER
Can you please check your dbms (mysql server) configuration?
I had made some changes within the gsoc branch, which tries to detect permission problems by creating and manipulating a table.
The question for me is, why it is needed to have SUPER privileges for this action. Besides of that, we have no other way to handle the tag hierachy - we need to use this kind of statements there.
With SUPER privileges it's working. But like you I'm wondering why this is needed :) Now I don't know wheather to close this bug or to leave it open since I guess you should not need SUPER privileges for the things digikam uses mysql. |