I have been using Easy Install Approach in installing ERPNext which install both the App and Database in the Same Server. I would like to Separate App and DB into Separate Server.
I searched, the Easy Install script and was not able to find option to give the remote DB Server URL.
Is it possible to Use Easy Install Approach in Installing the App and DB into Separate Server?
No. Not possible with easy install.
Easy install sets up mariadb configuration when it installs locally.
External server has to be configured separately, https://github.com/frappe/bench/wiki/MariaDB-conf-for-Frappe
to setup external mariadb host use command
bench set-mariadb-host or edit the common_site_config.json, https://github.com/frappe/frappe/wiki/Using-Frappe-with-Amazon-RDS-(or-any-other-DBaaS)
Hi @revant_one. Thanks for the Response.
One additional clarification.
Before pointing the Remote DB, i need to take local DB backup, and then after pointing the Remote DB, should just restore it using bench restore cmd.
Would the default site1.local work for the remote DB also? Or do i need to create new site?
- configure database server
- change bench config to point to external mariadb
- create new site. (this site will be created on external db. Provide correct db root password)
no need to backup restore then
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.