ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Zazhigaev <steely@bk.ru>
To: community@altlinux.ru
Subject: [Comm] MySQL
Date: Wed, 19 Jan 2005 18:16:05 +0300
Message-ID: <200501191816.05191.steely@bk.ru> (raw)

Здравствуй, All!

Подскажите плиз, из-за чего может происходить подобное?
И как это можно исправить?
===========================
Ошибка

SQL-запрос :  

CREATE TABLE Month_stat(
id int( 11 ) NOT NULL AUTO_INCREMENT ,
MONTH tinyint( 4 ) default NULL ,
year int( 11 ) default NULL ,
name varchar( 255 ) NOT NULL default '',
ip varchar( 18 ) NOT NULL default '0.0.0.0/0',
IN bigint( 20 ) default NULL ,
out bigint( 20 ) default NULL ,
PRIMARY KEY ( id ) 
) TYPE = MYISAM COMMENT = 'Траффик по месяцам' 

Ответ MySQL: 

#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 'in 
bigint(20) default NULL,
  out bigint(20) default NULL,
===========================
  
-- 
С уважением, Сергей.

             reply	other threads:[~2005-01-19 15:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19 15:16 Sergey Zazhigaev [this message]
2005-01-19 15:43 ` Alex Gorbachenko
2005-01-20  9:01 ` Dmitry Vodennikov
2005-01-20 23:25   ` Alexey S. Kuznetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200501191816.05191.steely@bk.ru \
    --to=steely@bk.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git