Open berniezhao11 opened 5 years ago
Hi @berniezhao11,
We are using RDS for our ERPNext instances and never faced this issue.
On which version are you ?
In any case, you should never use sudo
to create a new site. If that's the case you have an overall problem with your frappe bench folder permissions in Linux that should be resolved first.
Will request you to post this query on https://discuss.erpnext.com. If this bug is validated, then we can reopen issue.
Hi @chdecultot
Could you please give some insight into how you set this up? I actually posted this request on the forum:
https://discuss.erpnext.com/t/how-to-use-aws-rds-for-erpnext/43258
Thanks
Hi @Olawale1,
RDS is just a normal database running on a different server, so there are only a few things to do:
db_host
parameter in site_config.json with the address of your rds instance.That's all!
AWS RDS does not allow GRANT
SUPER
privilege so theGRANT ALL
does not work when creating new site.When run
sudo bench new-site erpnext
the following error shows up.Is there anyway to work around this issue? I'm thinking install the new site on local Database then copy the database to RDS, then change Strappe to point to new DB?