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

PASA MySQL setup comment #398

Closed
timkahlke opened this issue Mar 27, 2020 · 2 comments
Closed

PASA MySQL setup comment #398

timkahlke opened this issue Mar 27, 2020 · 2 comments

Comments

@timkahlke
Copy link

Hi,

This is basically not your problem but I thought it might be worth mentioning. When setting up PASA with MySQL the PASA-How-To set's the write access for sql user pasa_write only for specific databases (prefix _pasa).

grant all privileges on `%_pasa`.* to 'pasa_write'@'localhost';

However, funannotate doesn't follow that naming scheme and the pasa_write user can't create/write to the databases.

Might be a security problem, of course, but granting access to everything fixes that.

grant all privileges on *.* to 'pasa_write'@'localhost';

Cheers,
Tim

@schraderL
Copy link

Hi,
I am running into this issue, as our admins don't want to grant full priviliges to the mysql PASA user. Is it possible to change the names of the sql databases created by funannotate to match the _pasa or another prefix?
Cheers
lukas

@hyphaltip
Copy link
Collaborator

So just a _pasa suffix to the db names - seems easy update @nextgenusfs ?

nextgenusfs pushed a commit that referenced this issue Mar 15, 2021
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

4 participants