I have the following create table, and I get the following error when I create it.

It used to work before.  Can anyone help?

CREATE TABLE PROTOCOL_GROUPING(
PROTOCOL_GROUPING_ID      MEDIUMINT(20),
GROUP_NAME                VARCHAR(50)        NOT NULL,
PROTOCOL_ID               MEDIUMINT(20)      NOT NULL,
PROTOCOL_STEP_NO          MEDIUMINT(10)      NOT NULL,
 foreign key (PROTOCOL_ID, PROTOCOL_STEP_NO) REFERENCES PROTOCOL_STEP(PROTOCOL_ID, 
PROTOCOL_STEP_NO), UNIQUE INDEX PROTOCOL_GROUPING_PK 
(PROTOCOL_GROUPING_ID))Type=InnoDB;

I get the following error:  can't create table .\test\protocol_grouping.frm (errno 150)

Oganes Demirchyan
 
Oganes Demirchyan
Motorola Life Science
757 S.Raymond
Pasadena, CA  91105
Tel: 626-584-5900
email: [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 04, 2002 11:02 AM
To: Demirchyan Oganes-AOD098
Subject: Re: mysql create table error 

Your message cannot be posted because it appears to be either spam or
simply off topic to our filter. To bypass the filter you must include
one of the following words in your message:

sql,query

If you just reply to this message, and include the entire text of it in the
reply, your reply will go through. However, you should
first review the text of the message to make sure it has something to do
with MySQL. Just typing the word MySQL once will be sufficient, for example.

You have written the following:

I have the following create table, and I get the following error when I create it.

It used to work before.  Can anyone help?

CREATE TABLE PROTOCOL_GROUPING(
PROTOCOL_GROUPING_ID      MEDIUMINT(20),
GROUP_NAME                VARCHAR(50)        NOT NULL,
PROTOCOL_ID               MEDIUMINT(20)      NOT NULL,
PROTOCOL_STEP_NO          MEDIUMINT(10)      NOT NULL,
 foreign key (PROTOCOL_ID, PROTOCOL_STEP_NO) REFERENCES PROTOCOL_STEP(PROTOCOL_ID, 
PROTOCOL_STEP_NO),
UNIQUE INDEX PROTOCOL_GROUPING_PK (PROTOCOL_GROUPING_ID))Type=InnoDB;

I get the following error:  can't create table .\test\protocol_grouping.frm (errno 150)

Oganes Demirchyan
Motorola Life Science
757 S.Raymond
Pasadena, CA  91105
Tel: 626-584-5900
email: [EMAIL PROTECTED]


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to