List:MySQL on Win32« Previous MessageNext Message »
From:Tonu Samuel Date:September 26 1999 7:11am
Subject:Re: create table in 3.21.31
View as plain text  
Dennis Thrysøe wrote:
> CREATE TABLE Test3
> (
>         ID              INT     PRIMARY KEY NOT NULL auto_increment,
>         FactText        TEXT
> )
> 
> mySQL reports a parse error in the decleration of ID (always near
> auto_increment).


Turn it to:

    ID              INT     NOT NULL auto_increment PRIMARY KEY,

-- 
+----------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___                           |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Tõnu Samuel           |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     tonu@stripped        |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Tallinn, Estonia      |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                       |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                      |
|             /*/             \*\                Developers Team |
+----------------------------------------------------------------+
Thread
MYSQL using 100% CPU constantly...John Peat24 Sep
  • MYSQL using 100% CPU constantly...Michael Widenius25 Sep
    • RE: create table in 3.21.31Dennis Thrysøe25 Sep
      • RE: create table in 3.21.31Paul DuBois25 Sep
      • RE: create table in 3.21.31Michael Widenius25 Sep
      • Re: create table in 3.21.31Tonu Samuel26 Sep
  • Re: MYSQL using 100% CPU constantly...John Peat26 Sep
    • Re: MYSQL using 100% CPU constantly...Michael Widenius26 Sep
  • Re: MYSQL using 100% CPU constantly...John Peat26 Sep