MySQL Forums
Forum List  »  NDB clusters

Re: Can't create table (errno:4242 )
Posted by: Mikael Ronström
Date: February 12, 2006 11:29PM

Hi,
4242 says Too Many Indexes. Thus the problem here is that the configuration needs to
specify more indexes. A further look at the code reveals that it actually is the unique
hash indexes that are too few. This configuration parameter is MaxNoOfUniqueHashIndexes
and is set to 64 by default. Thus increasing this to a bigger value should solve your
problem.

Rgrds Mikael


Peter Schulz wrote:
> ok i found out that the problem ist the "unique
> key" in my statement... that causes errno:
> 4242....
>
> CREATE TABLE `tbl_users` (
> `user_id` int(11) NOT NULL auto_increment,
> `user_login` varchar(15) NOT NULL default '',
> PRIMARY KEY (`user_id`),
> UNIQUE KEY `user_login` (`user_login`)
> ) ENGINE=NDBCLUSTER;
>
>
> it seems to be a limitation error - because if my
> database don't has any tables i can perform that
> statement... if i have some tables in there that
> statement fails 4242... any ideas?
>
> _pete®

Mikael Ronstrom
Senior Software Architect, MySQL AB
My blog: http://mikaelronstrom.blogspot.com

Options: Reply• Quote


Subject
Views
Written By
Posted
3184
February 06, 2006 09:47AM
1615
February 06, 2006 11:39AM
1853
February 06, 2006 12:15PM
1781
February 07, 2006 09:21AM
1720
February 07, 2006 10:32AM
1705
February 07, 2006 10:36AM
1662
February 08, 2006 02:04AM
1713
February 10, 2006 03:43AM
1785
February 12, 2006 01:08PM
Re: Can't create table (errno:4242 )
1830
February 12, 2006 11:29PM
1938
February 15, 2006 06:47AM
1676
February 15, 2006 07:09AM
1541
February 15, 2006 07:24AM
1663
February 15, 2006 07:48AM
1726
February 15, 2006 07:49AM
1596
February 15, 2006 08:02AM
1600
February 15, 2006 09:11AM
1803
March 07, 2006 11:34AM
1798
March 07, 2006 11:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.