Page 1 of 1

The requested URL's length exceeds the capacity limit for...

PostPosted: 18. February 2009 11:21
by zodehala
whenever i tried to run following mysql query
Code: Select all
CREATE TABLE user (
   userid INT UNSIGNED NOT NULL AUTO_INCREMENT,
   usergroupid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
   membergroupids CHAR(250) NOT NULL DEFAULT '',
   displaygroupid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
   username VARCHAR(100) NOT NULL DEFAULT '',
   password CHAR(32) NOT NULL DEFAULT '',
   passworddate date NOT NULL DEFAULT '0000-00-00',
   email CHAR(100) NOT NULL DEFAULT '',
   styleid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
   parentemail CHAR(50) NOT NULL DEFAULT '',
   homepage CHAR(100) NOT NULL DEFAULT '',
   icq CHAR(20) NOT NULL DEFAULT '',
   aim CHAR(20) NOT NULL DEFAULT '',
   yahoo CHAR(32) NOT NULL DEFAULT '',
   msn CHAR(100) NOT NULL DEFAULT '',
   skype CHAR(32) NOT NULL DEFAULT '',
   showvbcode SMALLINT UNSIGNED NOT NULL DEFAULT '0',
   showbirthday SMALLINT UNSIGNED NOT NULL DEFAULT '2',
   usertitle CHAR(250) NOT NULL DEFAULT '',
   customtitle SMALLINT NOT NULL DEFAULT '0',
   joindate INT UNSIGNED NOT NULL DEFAULT '0',
   daysprune SMALLINT NOT NULL DEFAULT '0',
   lastvisit INT UNSIGNED NOT NULL DEFAULT '0',
   lastactivity INT UNSIGNED NOT NULL DEFAULT '0',
   lastpost INT UNSIGNED NOT NULL DEFAULT '0',
   lastpostid INT UNSIGNED NOT NULL DEFAULT '0',
   posts INT UNSIGNED NOT NULL DEFAULT '0',
   reputation INT NOT NULL DEFAULT '10',
   reputationlevelid INT UNSIGNED NOT NULL DEFAULT '1',
   timezoneoffset CHAR(4) NOT NULL DEFAULT '',
   pmpopup SMALLINT NOT NULL DEFAULT '0',
   avatarid SMALLINT NOT NULL DEFAULT '0',
   avatarrevision INT UNSIGNED NOT NULL DEFAULT '0',
   profilepicrevision INT UNSIGNED NOT NULL DEFAULT '0',
   sigpicrevision INT UNSIGNED NOT NULL DEFAULT '0',
   options INT UNSIGNED NOT NULL DEFAULT '33554447',
   birthday CHAR(10) NOT NULL DEFAULT '',
   birthday_search DATE NOT NULL DEFAULT '0000-00-00',
   maxposts SMALLINT NOT NULL DEFAULT '-1',
   startofweek SMALLINT NOT NULL DEFAULT '1',
   ipaddress CHAR(15) NOT NULL DEFAULT '',
   referrerid INT UNSIGNED NOT NULL DEFAULT '0',
   languageid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
   emailstamp INT UNSIGNED NOT NULL DEFAULT '0',
   threadedmode SMALLINT UNSIGNED NOT NULL DEFAULT '0',
   autosubscribe SMALLINT NOT NULL DEFAULT '-1',
   pmtotal SMALLINT UNSIGNED NOT NULL DEFAULT '0',
   pmunread SMALLINT UNSIGNED NOT NULL DEFAULT '0',
   salt CHAR(3) NOT NULL DEFAULT '',
   ipoints INT UNSIGNED NOT NULL DEFAULT '0',
   infractions INT UNSIGNED NOT NULL DEFAULT '0',
   warnings INT UNSIGNED NOT NULL DEFAULT '0',
   infractiongroupids VARCHAR (255) NOT NULL DEFAULT '',
   infractiongroupid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
   adminoptions INT UNSIGNED NOT NULL DEFAULT '0',
   profilevisits INT UNSIGNED NOT NULL DEFAULT '0',
   friendcount INT UNSIGNED NOT NULL DEFAULT '0',
   friendreqcount INT UNSIGNED NOT NULL DEFAULT '0',
   vmunreadcount INT UNSIGNED NOT NULL DEFAULT '0',
   vmmoderatedcount INT UNSIGNED NOT NULL DEFAULT '0',
   socgroupinvitecount INT UNSIGNED NOT NULL DEFAULT '0',
   socgroupreqcount INT UNSIGNED NOT NULL DEFAULT '0',
   pcunreadcount INT UNSIGNED NOT NULL DEFAULT '0',
   pcmoderatedcount INT UNSIGNED NOT NULL DEFAULT '0',
   gmmoderatedcount INT UNSIGNED NOT NULL DEFAULT '0',
   PRIMARY KEY (userid),
   KEY usergroupid (usergroupid),
   KEY username (username),
   KEY birthday (birthday, showbirthday),
   KEY birthday_search (birthday_search),
   KEY referrerid (referrerid)
);


i am getting following error

Code: Select all
Request-URI Too Large

The requested URL's length exceeds the capacity limit for this server.
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 mod_jk/1.2.27 Server at localhost Port 80



i am using XAMPP 1.7.0 with XP_SP3

Re: The requested URL's length exceeds the capacity limit for...

PostPosted: 18. February 2009 12:35
by Wiedmann
Request-URI Too Large

There is nothing we can do.

Use the mysql command line client if you need this query. Or put this in a *.sql" file, and import the file with phpMyAdmin.