If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MYSQL error #1005 can't create table - 121

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-15-06, 05:46
pru pru is offline
Registered User
 
Join Date: Oct 2006
Posts: 2
MYSQL error #1005 can't create table - 121

Hi,

I have 4.1 and am trying to run a db creation script so that I can copy a db on my portable to a remote server. This generally works! I'm using PhpMyAdmin 2.6.0 to do this. The script (which is actually being read from a file) creates the first 6 tables (about 70KB) then throws this error. I've disactivated various defaults that are set up in PhpMyAdmin, such as "Include DROP TABLE" - but can't see what's causing this. I've dropped and created this db several times - nothing changes! It gets to 6 and that's it.

Any ideas?
Tks
Pru
Reply With Quote
  #2 (permalink)  
Old 10-15-06, 06:25
pru pru is offline
Registered User
 
Join Date: Oct 2006
Posts: 2
Sorry, just figured out it's something to do with some tables being InnoDB and some MyISAM - have no idea why that is, but when I change them all to MyISAM, it works fine.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On