Re: mysql problem
| From: | David Robley | Date: | Tue, 20 Feb 2001 00:41:53 +0000 |
| Subject: | Re: mysql problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40678@lists.php.net to get a copy of this message | ||
On Tue, 20 Feb 2001 10:57, Josh G wrote:
> Hi, sorry to post this here, but it's driving me crazy. On my local
> machine, the following works no furys:
>
> create table category (category_id integer primary key
> auto_increment,name varchar(255) );
>
> But on the production machine, I get:
>
> ERROR 1064: parse error near 'auto_increment,name varchar(255) )' at
> line 1
>
> Any idea why???? It's driving me nuts......
>
> Gfunk - http://www.gfunk007.com/
>
Is the version of Mysql on the production box an older one? autoincrement
is comparatively new, I think.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA