Unix Technical Forum

weird drop database error

This is a discussion on weird drop database error within the MySQL General forum forums, part of the MySQL category; --> We are getting a weird DROP DATABASE error >>>>>>>>> 2007-06-10 11:25:41 db 527 DEBUG DROP DATABASE BCS OperationalError: (1051, ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 06:35 AM
Les Schaffer
 
Posts: n/a
Default weird drop database error

We are getting a weird DROP DATABASE error

>>>>>>>>>

2007-06-10 11:25:41 db 527 DEBUG DROP DATABASE BCS

OperationalError: (1051, "Unknown table
'assignments,chemo,choicelists,dia,forms
,horm,id,permissions,qhistory,qnotes,qstates,quest ionnaires,r'")
<<<<<<<<<<<

the thing is, there is NO table 'r' ... can't tell if that's just the
truncation of long string, since we do have tables that begin with the
letter 'r'. but if its a truncation, which is the offending table, since
the ones in the string as shown are there as advertised. also, is that
correct that MySQL says 'table' (not plural), but then lists a set of
tables??? Has MySQL made itself believe taht string is one long table
name. please note: we are acccessing MySQL through the python mysqldb
wrapper. but we did simply execute the query 'DROP DATABASE BCS' which i
THINK is passed straight through to the MySQL engine.

query: does "drop database XXX" delete tables regardless of foreign key
constraints? we are using innodb. but i thought "drop database xxx"
deletes tables with extreme prejudice. but if its a constraint issue,
then why the "unknown table" error?

thanks.

Les Schaffer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com