drop-database Questions

8

Solved

I can't delete a database from mysql. The error is like ERROR 1010 (HY000): Error dropping database (can't rmdir '.\oro', errno: 41) I tried to drop the database 'oro' using phpmyadmin and it als...
Gabbert asked 30/7, 2013 at 12:38

1

Solved

I am trying to drop a postgres database. But I am always getting a There is 1 other session using the database error. I tried stopping all the sessions with this command select pg_terminate_backe...
Mountainside asked 23/9, 2020 at 8:23

7

I am developing a C# application with its backend as sqlite. In my application I have a button for cleaning the database (deleting the .db file and creating it again with some initial data). Someti...
Baer asked 17/6, 2011 at 10:4

2

Solved

Is it possible to get VS to drop the destination database before a deploy? I've tried adding a post deploy script to the project, but it always comes back with active connections.

1

Solved

I am trying to script the back up of a database and part of the flow is that I need to drop and then recreate the database from a backup. When there are connections to the database I get a failure...

0

I need to programmatically drop an EF core database. No problem, right? Get a context, call ctx.Database.EnsureDeleted(), and you're all set. Except.. when the DB is in use, you're using connectio...
Azole asked 10/4, 2019 at 19:12

3

Solved

I want to delete some SQL Databases on my server, but I'm having problems. My login has the roles: public dbcreator serveradmin When I right click the database and hit Delete, it says that D...
Copland asked 24/5, 2010 at 17:7

3

Solved

Consider: DROP DATABASE db_name; ERROR 1010 (HY000): Error dropping database (can't rmdir './db_name', errno: 66) The problem is that I don't know where the file/directory is located - this file...
Gon asked 13/5, 2013 at 16:40

1

I have an empty database that I cannot drop. Initially, it contained a table that I couldn't SELECT from. So I DROP'ed all tables from that database and tried to DROP the database without success :...
Faceharden asked 12/8, 2013 at 14:9

1

Solved

I've created some very large databases and have since dropped a few. I've noticed my disk space has not recovered as much as I had expected. For instance, the last database I added actually used up...
Escent asked 12/5, 2011 at 20:5

2

Solved

I am using SQL SERVER 2005 Express. I can delete the database from the query analyzer, what you call Mgmt Studio (ssmsee) by providing double quotes to the database name and things get done; Drop ...
Toscanini asked 29/1, 2011 at 6:40
1

© 2022 - 2024 — McMap. All rights reserved.