5 messages in com.mysql.lists.clusterRe: Error 4336: Can't create table wi...
FromSent OnAttachments
Christopher Hota25 Feb 2005 09:49 
Alejandro Gad25 Feb 2005 10:35 
Christopher Hota25 Feb 2005 10:52 
Christopher Hota25 Feb 2005 10:54 
Alejandro Gad25 Feb 2005 10:57 
Subject:Re: Error 4336: Can't create table with AUTO_INCREMENT
From:Alejandro Gad (todo@gmail.com)
Date:02/25/2005 10:35:30 AM
List:com.mysql.lists.cluster

On Friday 25 February 2005 14:49, Christopher Hota wrote: Hello!

I do your query in my testing cluster configuration and the CREATE TABLE was
done just ok. My version of mysql-max is 4.1.10 in all cluster Nodes.

Ale

CREATE TABLE action (    action_id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,    z_action_id INT UNSIGNED DEFAULT NULL,    z_portal_id INT UNSIGNED DEFAULT NULL,    person_id INT UNSIGNED DEFAULT NULL,    when_done TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,    description TEXT,    ipaddress VARCHAR(15) DEFAULT NULL,    browser VARCHAR(255) DEFAULT NULL,    os VARCHAR(255) DEFAULT NULL,    FOREIGN KEY (z_action_id) REFERENCES z_action(z_action_id) ON UPDATE CASCADE ON DELETE RESTRICT,    FOREIGN KEY (z_portal_id) REFERENCES z_portal(z_portal_id) ON UPDATE CASCADE ON DELETE RESTRICT,    FOREIGN KEY (person_id) REFERENCES person(person_id) ON UPDATE CASCADE ON DELETE RESTRICT ) ENGINE=NDB;