Hi All,
I’m using bench command with --force option to create a site with existing database. But the command makes new database and user. Maybe I’m doing this all wrong. I did create a site with this command before on older version of bench without any issues. Maybe how to use the options is different on new version? I’m using bench version 4.1.0. Here is the command I’m trying.
bench new-site erpdemo --db-name erpdemo --mariadb-root-username root --mariadb-root-password password --install-app erpnext --verbose --force
Created user b1d50388e84850b5 <— creates this user and not erpdemo
Created database b1d50388e84850b5 <— creates this database instead of using existing erpdemo
Granted privileges to user b1d50388e84850b5 and database b1d50388e84850b5
Starting database import…
Imported from database /home/frappe/frappe-bench/apps/frappe/frappe/data/Framework.sql
Installing frappe…
Updating frappe : [========================================]
Updating country info : [========================================]
Set Administrator password:
Re-enter Administrator password:
Installing fixtures…
Installing erpnext…
Updating erpnext : [========================================]
Installing fixtures…
*** Scheduler is disabled ***