Error Number : 1062

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sweet_kuwaiti
    Member
    • Jan 2007
    • 32

    #16
    MySQL said:
    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$enginetype=MyISAM' at line 14

    So what to do now ?

    Comment

    • Steve Machol
      Former Customer Support Manager
      • Jul 2000
      • 154488

      #17
      Try thisL:

      CREATE TABLE postedithistory (
      postedithistoryid INT UNSIGNED NOT NULL AUTO_INCREMENT,
      postid INT UNSIGNED NOT NULL DEFAULT '0',
      userid INT UNSIGNED NOT NULL DEFAULT '0',
      username VARCHAR(100) NOT NULL DEFAULT '',
      title VARCHAR(250) NOT NULL DEFAULT '',
      iconid INT UNSIGNED NOT NULL DEFAULT '0',
      dateline INT UNSIGNED NOT NULL DEFAULT '0',
      reason VARCHAR(200) NOT NULL DEFAULT '',
      original SMALLINT NOT NULL DEFAULT '0',
      pagetext MEDIUMTEXT,
      PRIMARY KEY (postedithistoryid),
      KEY postid (postid,userid)
      )
      $enginetype=MyISAM;
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment

      • sweet_kuwaiti
        Member
        • Jan 2007
        • 32

        #18
        #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$enginetype=MyISAM' at line 15

        ??

        Comment

        • Steve Machol
          Former Customer Support Manager
          • Jul 2000
          • 154488

          #19
          Try just this then:

          CREATE TABLE postedithistory (
          postedithistoryid INT UNSIGNED NOT NULL AUTO_INCREMENT,
          postid INT UNSIGNED NOT NULL DEFAULT '0',
          userid INT UNSIGNED NOT NULL DEFAULT '0',
          username VARCHAR(100) NOT NULL DEFAULT '',
          title VARCHAR(250) NOT NULL DEFAULT '',
          iconid INT UNSIGNED NOT NULL DEFAULT '0',
          dateline INT UNSIGNED NOT NULL DEFAULT '0',
          reason VARCHAR(200) NOT NULL DEFAULT '',
          original SMALLINT NOT NULL DEFAULT '0',
          pagetext MEDIUMTEXT,
          PRIMARY KEY (postedithistoryid),
          KEY postid (postid,userid)
          )
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment

          • Zachery
            Former vBulletin Support
            • Jul 2002
            • 59097

            #20
            What version of MySQL is your server running?

            Comment

            • sweet_kuwaiti
              Member
              • Jan 2007
              • 32

              #21
              latest version .. !!!

              sir i have 3 websites works with vbulletin 3.8.2 with no problems

              one of them showing me database error !!

              2 sites working greate

              Comment

              • sweet_kuwaiti
                Member
                • Jan 2007
                • 32

                #22
                I fixed the problm

                The problem was from vBlletin script

                thank you all ..
                Last edited by sweet_kuwaiti; Sat 6 Jun '09, 1:21pm.

                Comment

                • Ranbud
                  New Member
                  • Jun 2009
                  • 17
                  • 3.8.x

                  #23
                  What was the issue

                  I see you fixed it, I have the same issue, what do I need to do?

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...