Active
Project:
Advanced Mail Reroute
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2010 at 14:02 UTC
Updated:
17 Apr 2011 at 23:15 UTC
Jump to comment: Most recent
Hi
If I try and install this module, I get the following error:
user warning: Specified key was too long; max key length is 767 bytes query: CREATE TABLE advanced_mail_reroute_rules ( `mailkey` VARCHAR(256) NOT NULL, `reroute_rule` TINYINT NOT NULL, `email` TEXT NOT NULL, PRIMARY KEY (mailkey), INDEX mailkey (mailkey) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in C:\httpdocs\includes\database.inc on line 550.
I am using Drupal 6.16, MySQL 5.1 & PHP 5.2.5
Thank you
Comments
Comment #1
Shadlington commentedI have the exact same problem!
Comment #2
mrogers commentedHaving this issue as well -- any ideas?
Comment #3
rupyjl commentedI took the 'create' statement above and ran it as a SQL query in phpMyAdmin. It worked fine and the module now works well.
CREATE TABLE advanced_mail_reroute_rules
(`mailkey` VARCHAR( 255 ) NOT NULL ,
`reroute_rule` TINYINT NOT NULL ,
`email` TEXT NOT NULL ,
PRIMARY KEY ( mailkey ) ,
INDEX mailkey( mailkey ))
Comment #4
Anonymous (not verified) commentedThanks for that. I've updated the schema for 6.x.