r/ClaudeCoding • • Oct 20 '26

What the heck Claude Code??

Post image

Bro did cc really just wipe my database? How the hell does that happen, my prompt said read only audit. Is there any way to avoid this in the future?

0 Upvotes

3 comments sorted by

1

u/Watche_1V47C43R Oct 22 '26

wow

Well Never give it direct access to db for a change.

and only get it to mcp and tools? or a script.

1

u/lgmarian Oct 20 '26

A read-only MCP, or a read-only DB user.

1

u/CompFortniteByTheWay 26d ago

Give claude a read only role in the database and block it from running commands that delete the database