frappe / frappe/bench

Db removal if db exit with same name without error

Open
#1,672 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
1.7k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

When i created the new site same DB it will not prompt or show any issue it silently Drop the db and recreate it without any backing up in mariadb setup

commond is bench new-site frappev16.localhost --db-name "_d2ab67371ef19479"

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the `bench new-site` command and trace the MariaDB setup path used with `--db-name`. Reproduce the command with an existing database name, then verify that the command reports the conflict and does not silently drop or recreate the database.

Written by the indexing model from the issue text.

Assessment

Tech stack
mariadb, python
Domain
cli, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.