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

Possibility of installing new site without DB root access #1513

Open
klau2005 opened this issue Jan 8, 2024 · 1 comment
Open

Possibility of installing new site without DB root access #1513

klau2005 opened this issue Jan 8, 2024 · 1 comment

Comments

@klau2005
Copy link

klau2005 commented Jan 8, 2024

I want to be able to run the bench new-site command, specifying the DB host and DB name, without requiring root privileges. We can precreate the DB and user with necessary privileges. This way, we can have a preconfigured user with all privileges and we don't need to give the install script root privileges into our DB.

Current workaround: install the site on a local DB (for example, a docker container running mysql/mariadb, where we have root privileges), dump the database, restore it on the remote DB machine where we create the database and user with needed privileges, update the site_config.json site file with the remote DB details.

@andrelohmann
Copy link

Hi there, I'm asking myself the exact same question. ERPNext seems to be conceptually a great system, but it seems to be lacing operational exellence. I tryed it with the new-site command by adding options for the previously created database, but it is still asking for root permissions.

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