I have deployed ERPNext on Google Cloud using Bitnami. I just have two questions. How to reset the database and delete everything and start fresh setup?
Also, How to access the database?
Thanks in advance
I have deployed ERPNext on Google Cloud using Bitnami. I just have two questions. How to reset the database and delete everything and start fresh setup?
Also, How to access the database?
Thanks in advance
You can use bench reinstall
to reset and start all over.
To access the db, you can do bench mysql
.
Should i direct to a location to run this command? Because i run it and it didn’t work.
Any and all bench
commands need to be performed as the erp user (e.g. erpnext) and executed in the bench directory (e.g. frappe-bench). Don’t use sudo
as this will cause issues as well. Instead sudo su
to the erp user. e.g.
myregularuser@host:~$ sudo su - erpnext
erpnext@host:~$ cd frappe-bench
erpnext@host:~/frappe-bench$ bench reinstall
erpnext@host:~/frappe-bench$ bench mysql
I am speechless. Thank you very much. This helped me with my problem.