Activity Stream
48,167 MEMBERS
6826 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Banned

    Default Fixing errored database

    Any idea on fixing this?

    PHP Code: 
    CREATE  TABLE post(
    postid int10  )  unsigned NOT  NULL  AUTO_INCREMENT ,
    threadid int10  )  unsigned NOT  NULL ,
    parentid int10  )  unsigned NOT  NULL ,
    username varchar100  )  NOT  NULL ,
    userid int10  )  unsigned NOT  NULL ,
    title varchar250  )  NOT  NULL ,
    dateline int10  )  unsigned NOT  NULL ,
    pagetext mediumtext,
    allowsmilie smallint6  )  NOT  NULL ,
    showsignature smallint6  )  NOT  NULL ,
    ipaddress varchar15  )  NOT  NULL ,
    iconid smallint5  )  unsigned NOT  NULL ,
    visible smallint6  )  NOT  NULL ,
    attach smallint5  )  unsigned NOT  NULL ,
    infraction smallint5  )  unsigned NOT  NULL ,
    reportthreadid int10  )  unsigned NOT  NULL ,
    importthreadid bigint20  )  NOT  NULL ,
    importpostid bigint20  )  NOT  NULL ,
    post_thanks_amount int10  )  unsigned NOT  NULL ,
     
    PRIMARY  KEY postid ) ,
     
    KEY useriduserid ) ,
     
    KEY threadidthreadiduserid ) ,
     
    KEY importpost_indeximportpostid ) ,
     
    KEY datelinedateline ) ,
     
    KEY dateline_2dateline ) ,
     
    KEY dateline_3dateline ) ,
     
    KEY dateline_4dateline ) ,
     
    KEY titletitlepagetext 
    );

              
    MySQL said:
      
    #1170 - BLOB/TEXT column 'pagetext' used in key specification without a key length 
    Luke Reviewed by Luke on . Fixing errored database Any idea on fixing this? CREATE TABLE post( postid int( 10 ) unsigned NOT NULL AUTO_INCREMENT , threadid int( 10 ) unsigned NOT NULL , parentid int( 10 ) unsigned NOT NULL , username varchar( 100 ) NOT NULL , userid int( 10 ) unsigned NOT NULL , title varchar( 250 ) NOT NULL , dateline int( 10 ) unsigned NOT NULL , Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Super Member
    I found this, dunno if its any help though:

    Code: 
    http://bugs.mysql.com/bug.php?id=13545

    So kiss me and smile for me, say that you'll wait for me <'3

  4.     
    #3
    Banned
    Didnt shed much light @ Sp32

    Im gonig to try:

    pagetext mediumtext, (250)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Please, I need your help fixing this code...
    By Divvy in forum Web Development Area
    Replies: 1
    Last Post: 1st Mar 2011, 11:47 AM
  2. [Help] Fixing WP blog - Cpanel fix maybe
    By Jayzzy in forum Community Cooperative
    Replies: 13
    Last Post: 6th Feb 2011, 08:45 AM
  3. Need Help Fixing This Please
    By Mr.KiLLeR in forum vBulletin
    Replies: 15
    Last Post: 27th Dec 2010, 03:36 AM
  4. Fixing the margin
    By DJCyrus81 in forum Technical Help Desk Support
    Replies: 2
    Last Post: 4th Aug 2010, 09:55 AM
  5. Need some fixing in vB DDL submitter
    By pankaj in forum Technical Help Desk Support
    Replies: 2
    Last Post: 8th Jun 2010, 03:26 AM

Tags for this Thread

BE SOCIAL