ERROR 1005 (HY000): Can't create table 'user_database.user_table' (errno: 157)

2013-04-15 Thread Sai Kumar Ganji
ield10 varchar(100)) max_rows=1000 engine=ndbcluster partition by key(ycsb_key); I get this error: *ERROR 1005 (HY000): Can't create table 'user_database.user_table' (errno:

Re: Can't create table

2009-03-16 Thread Gerald L. Clark
Octavian Râºniþã wrote: Hello, I've tried to create these 4 test tables, but when I try to create the last one, MySQL gives the following error: ERROR 1005 (HY000) at line 20: Can't create table '.\z\favorite_link.frm' (errno : 150) It seems that the foreign keys

Can't create table

2009-03-16 Thread Octavian R��ni��
Hello, I've tried to create these 4 test tables, but when I try to create the last one, MySQL gives the following error: ERROR 1005 (HY000) at line 20: Can't create table '.\z\favorite_link.frm' (errno : 150) It seems that the foreign keys are not created well in the

Re: #1005 - Can't create table '.\unb2test\#sql-770_2.frm' (errno: 150)

2008-03-15 Thread Yves Goergen
On 14.03.2008 00:55 CE(S)T, Rob Wultsch wrote: I am guessing it is an issue with "SearchRevision" being an INTEGER, and "RevisionNumber" being a SMALLINT. Thank you, that was the problem. My design was incorrect anyway to use different types here... Now that's fixed, too. :) http://www.goo

Re: #1005 - Can't create table '.\unb2test\#sql-770_2.frm' (errno: 150)

2008-03-14 Thread Baron Schwartz
gt; ENGINE 'InnoDB' CHARACTER SET 'utf8' COLLATE 'utf8_bin'; > > > > > > ALTER TABLE "message" ADD FOREIGN KEY ("MessageId", "SearchRevision") > > REFERENCES "message_revision" ("MessageId", &q

Re: #1005 - Can't create table '.\unb2test\#sql-770_2.frm' (errno: 150)

2008-03-13 Thread Rob Wultsch
"Author" INTEGER UNSIGNED NOT NULL, > PRIMARY KEY ("MessageId", "RevisionNumber")) > ENGINE 'InnoDB' CHARACTER SET 'utf8' COLLATE 'utf8_bin'; > > ALTER TABLE "message" ADD FOREIGN KEY ("Mes

#1005 - Can't create table '.\unb2test\#sql-770_2.frm' (errno: 150)

2008-03-13 Thread Yves Goergen
ot; ADD FOREIGN KEY ("MessageId") REFERENCES "message" ("MessageId") ON DELETE CASCADE; This is all fine and I've put some data in the tables already. But all data is valid and won't interfer with the following new constraint: ALTER TABLE "message&q

Re: Can't create table (errno: 604) (occurs when trying to create a primary key)

2006-10-11 Thread Sebastian Mork
I've now figured out that the error occurs when I try to create any table that has a primary key. creating tables without the primary key works. hmm.. is there any limitation in the mysql (ndb)-settings that I've to change? Its the standard-installation of 4.1.21-max... -- Sebastian Mork [EMAIL PR

Can't create table (errno: 604)

2006-10-11 Thread Sebastian Mork
Hi, I get this error when trying to create newtables in a cluster. I just created about 27 tables using ndbcluster-engine without a problem. trying to create any more tables fails with this error. anybody knows? thx -- Sebastian Mork <[EMAIL PROTECTED]> -- MySQL General Mailing List For list

Can't CREATE table using SELECT

2006-06-08 Thread murthy gandikota
Hi The following happened when I tried to create table. Can anyone please help? mysql> create table sfgbackup.advEmail select * from sfg.advEmail; mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrup

Re: ERROR 1005 (HY000): Can't create table '.\testDataBase\#sql-ec4_c.frm' (errno: 139)

2005-10-24 Thread Heikki Tuuri
iling.database.myodbc Sent: Tuesday, October 25, 2005 5:33 AM Subject: ERROR 1005 (HY000): Can't create table '.\testDataBase\#sql-ec4_c.frm' (errno: 139) --_=_NextPart_001_01C5D90C.62DB5CF5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quot

ERROR 1005 (HY000): Can't create table '.\testDataBase\#sql-ec4_c.frm' (errno: 139)

2005-10-24 Thread Sunil Vishwas
(I am using mysql-5.0.15-win32) Why I am getting this error and is there any way I can fix it, or is it a bug? Between I don't get this error if I change the field size to 767 or below: drop table Address; CREATE TABLE `Address` ( `RecId` CHAR(32) NOT NULL, `WebAddress` VARCHAR(1000), CONS

Re: ERROR 1005 at line 12: Can't create table

2004-02-11 Thread Victoria Reznichenko
"naveen" <[EMAIL PROTECTED]> wrote: > thanks Victoria Reznichenko > > for your help > where will i put this parameter > SET FOREIGN_KEY_CHECKS = 0; > in the dump file or under mysql pormpt.I added through mysql but still the > same error comes. You should put SET FOREIGN_KEY_CHECKS = 0; at the

Re: ERROR 1005 at line 12: Can't create table

2004-02-11 Thread naveen
toria Reznichenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 11, 2004 4:25 PM Subject: Re: ERROR 1005 at line 12: Can't create table > "naveen" <[EMAIL PROTECTED]> wrote: > > Hi > > when i try to put the data(xyz.s

Re: ERROR 1005 at line 12: Can't create table

2004-02-11 Thread Victoria Reznichenko
"naveen" <[EMAIL PROTECTED]> wrote: > Hi > when i try to put the data(xyz.sql) taken using mysqldump commant > > bin/mysql --user=root --password=secret xyz < xyz.sql > > ERROR 1005 at line 12: Can't create table './XYZ/Bcl.frm' (errno: 150)

Re: ERROR 1005 at line 12: Can't create table

2004-02-11 Thread Aleksandar Bradaric
Hi, C:\mysql\bin>perror 150 Error code 150: Unknown error 150 = Foreign key constraint is incorrectly formed Take care, Aleksandar -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

ERROR 1005 at line 12: Can't create table

2004-02-11 Thread naveen
Hi when i try to put the data(xyz.sql) taken using mysqldump commant bin/mysql --user=root --password=secret xyz < xyz.sql ERROR 1005 at line 12: Can't create table './XYZ/Bcl.frm' (errno: 150) what is this comming,why is it comming. with regards naveen

ERROR 1005 at line 38: Can't create table '.\test\#sql-748_17.frm' (errno: 150)

2004-01-08 Thread Morten Gulbrandsen
LTER TABLE relvar_a# won't do line 38 ADD FOREIGN KEY (DNO) REFERENCES relvar_b(DNUMBER) ON DELETE SET DEFAULT # is supported in 5.0.0 alpha ON UPDATE CASCADE; = ERROR 1005 at line 38: Can't create table '.\test\#sql-748_17.frm' (errno: 1

ERROR 1005 at line 38: Can't create table '.\test\#sql-748_17.frm' (errno: 150)

2004-01-08 Thread Morten Gulbrandsen
r_b(DNUMBER) ON DELETE SET DEFAULT ON UPDATE CASCADE; ERROR 1005 at line 38: Can't create table '.\test\#sql-748_17.frm' (errno: 150) Bye mysql> select version(); ++ | version() | ++ | 5.0.0-alpha-max-nt | +---

ERROR 1005: Can't create table './db/table.frm' (errno: 150)

2003-08-06 Thread CoOL! .
Hello, I found the key to solve this problem in: http://darkstar.ist.utl.pt/mysql/doc/en/InnoDB_foreign_key_constraints.html You'll probably need an INDEX for that new foreign key you are declaring in older versions this isn't neccesary but in latest ones it is a restriction. You can have more i

Re: ERROR 1005: Can't create table './db/table.frm' (errno: 150)

2003-08-06 Thread CoOL! .
Hello, I found the key to solve this problem in: http://darkstar.ist.utl.pt/mysql/doc/en/InnoDB_foreign_key_constraints.html You'll probably need an INDEX for that new foreign key you are declaring in older versions this isn't neccesary but in latest ones it is a restriction. You can have more i

Re: ERROR 1005 at line 3: Can't create table '.\company\employee.frm' (errno: 150)

2003-08-01 Thread Victoria Reznichenko
LE EMPLOYEE; > SHOW TABLE STATUS FROM COMPANY LIKE "EMPLOYEE"; > > > > C:\mysql\bin>mysql < Company_00.sql > out.txt > ERROR 1005 at line 3: Can't create table '.\company\employee.frm' > (errno: 150) > > > What can I DO ? > >

ERROR 1005 at line 3: Can't create table '.\company\employee.frm' (errno: 150)

2003-08-01 Thread Morten Gulbrandsen
ARTMENT(DNUMBER))TYPE=InnoDB; # SHOW CREATE TABLE EMPLOYEE; SHOW TABLE STATUS FROM COMPANY LIKE "EMPLOYEE"; C:\mysql\bin>mysql < Company_00.sql > out.txt ERROR 1005 at line 3: Can't create table '.\company\employee.frm' (errno: 150) What can

Re: ERROR 1005: Can't create table './db/table.frm' (errno: 150)

2003-06-16 Thread Heikki Tuuri
foreign_key_checks=0? Best regards, Heikki Innobase Oy http://www.innodb.com InnoDB - transactions, foreign keys, and a hot backup tool for MySQL Order MySQL support from http://www.mysql.com/support/index.html . Subject: ERROR 1005: Can't create table './db/table.frm' (e

ERROR 1005: Can't create table './db/table.frm' (errno: 150)

2003-06-16 Thread Ben Clewett
Dear MySQL: I am getting the error 'ERROR 1005: Can't create table './db/table.frm' (errno: 150)' using InnoDB tables on 4.0.13-max-log. This is nothing to do with referential checking. The command: SET foreign_key_checks=0 Does alow the import of referential tables,

Urgent can't create table

2002-03-06 Thread Victoria Reznichenko
gaouzief, Wednesday, March 06, 2002, 6:28:01 PM, you wrote: g> i get a strange "can't create table 'databasename\bigdata1.frm' g> error 140" when i try to run the following create query: g> DROP TABLE /*!32200 IF EXISTS*/ bigdata1; g> CREATE TABLE

Urgent can't create table

2002-03-06 Thread gaouzief
hi i get a strange "can't create table 'databasename\bigdata1.frm' error 140" when i try to run the following create query: DROP TABLE /*!32200 IF EXISTS*/ bigdata1; CREATE TABLE /*!32300 IF NOT EXISTS*/ bigdata1 ( IDData bigint(20) unsigned NOT NULL auto_increment,

Re: Can't create table from another table

2001-06-13 Thread Benjamin Pflugmann
Hi. On Wed, Jun 13, 2001 at 01:47:53PM +0200, [EMAIL PROTECTED] wrote: > Hi > > Sorry for this question but this is my first shot at this list. > > I have created a table that contains the following: > CREATE TABLE liggare (raknare INT(10) UNSIGNED ZEROFILL DEFAULT '00' NOT >NULL, > >

Can't create table from another table

2001-06-13 Thread Jonas Arvidsson
Hi Sorry for this question but this is my first shot at this list. I have created a table that contains the following: CREATE TABLE liggare (raknare INT(10) UNSIGNED ZEROFILL DEFAULT '00' NOT NULL, projno INT(5) UNSIGNED ZEROFILL DEFAULT '1' NOT NULL, ritnummer INT(8) UNSIGNED ZE