Query: CREATE TABLE xxxx_PDdownloads_indexpage ( indeximage varchar(255) DEFAULT 'blank.png' NOT NULL, indexheading varchar(255) DEFAULT 'PD-Downloads' NOT NULL, indexheader longtext NOT NULL, indexfooter longtext NOT NULL, nohtml tinyint(8) DEFAULT '1' NOT NULL, nosmiley tinyint(8) DEFAULT '1' NOT NULL, noxcodes tinyint(8) DEFAULT '1' NOT NULL, noimages tinyint(8) DEFAULT '1' NOT NULL, nobreak tinyint(4) DEFAULT '0' NOT NULL, indexheaderalign varchar(25) DEFAULT 'left' NOT NULL, indexfooteralign varchar(25) DEFAULT 'center' NOT NULL, KEY indexheading (indexheading), KEY indexheader (indexheader), KEY indexfooter (indexfooter) );
MySQL: BLOB/TEXT column 'indexheader' used in key specification without a key
# Backup for MySQL
#
# --------------------------------------------------------
#
# Table structure for table xxxx_PDdownloads_indexpage
#
DROP TABLE IF EXISTS xxxx_PDdownloads_indexpage;
CREATE TABLE xxxx_PDdownloads_indexpage (
indeximage varchar(255) DEFAULT 'blank.png' NOT NULL,
indexheading varchar(255) DEFAULT 'PD-Downloads' NOT NULL,
indexheader longtext NOT NULL,
indexfooter longtext NOT NULL,
nohtml tinyint(8) DEFAULT '1' NOT NULL,
nosmiley tinyint(8) DEFAULT '1' NOT NULL,
noxcodes tinyint(8) DEFAULT '1' NOT NULL,
noimages tinyint(8) DEFAULT '1' NOT NULL,
nobreak tinyint(4) DEFAULT '0' NOT NULL,
indexheaderalign varchar(25) DEFAULT 'left' NOT NULL,
indexfooteralign varchar(25) DEFAULT 'center' NOT NULL,
KEY indexheading (indexheading),
KEY indexheader (indexheader),
KEY indexfooter (indexfooter)
);
#
# Dumping data for table xxxx_PDdownloads_indexpage
#
INSERT INTO xxxx_PDdownloads_indexpage VALUES ('logo-en.gif', '', '', '', 0, 0, 0, 0, 1, 'left ', 'left');
Questo post è stato a partire da: http://www.xoopsitalia.org/modules/newbb/p-69947/re-copia-e-ripristino-db.html