J.C.
Wed 25th Jun '03, 9:37pm
I'm trying to restore this table using phpmyadmin:
# phpMyAdmin MySQL-Dump
# version 2.4.0
# http://www.phpmyadmin.net/ (download page)
#
# Host: localhost
# Generation Time: Jun 25, 2003 at 08:33 PM
# Server version: 4.0.13
# PHP Version: 4.2.3
# Database : `*********`
# --------------------------------------------------------
#
# Table structure for table `shoutbox_swears`
#
CREATE TABLE shoutbox_swears (
id int(11) NOT NULL auto_increment,
orig varchar(255) NOT NULL default '',
replace varchar(255) NOT NULL default '',
PRIMARY KEY (id)
) TYPE=MyISAM;
#
# Dumping data for table `shoutbox_swears`
#
but got this weird errors (always!):
Error
SQL-query :
CREATE TABLE shoutbox_swears( id int( 11 ) NOT NULL auto_increment,
orig varchar( 255 ) NOT NULL default '',
REPLACE varchar( 255 ) NOT NULL default '',
PRIMARY KEY ( id )
)
TYPE =
MYISAM
MySQL said:
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 'REPLACE varchar( 255 ) NOT NULL default '', PRIMARY KEY (does anyone know how to fix the table and can restore it successfully?thanks, need help asap.
# phpMyAdmin MySQL-Dump
# version 2.4.0
# http://www.phpmyadmin.net/ (download page)
#
# Host: localhost
# Generation Time: Jun 25, 2003 at 08:33 PM
# Server version: 4.0.13
# PHP Version: 4.2.3
# Database : `*********`
# --------------------------------------------------------
#
# Table structure for table `shoutbox_swears`
#
CREATE TABLE shoutbox_swears (
id int(11) NOT NULL auto_increment,
orig varchar(255) NOT NULL default '',
replace varchar(255) NOT NULL default '',
PRIMARY KEY (id)
) TYPE=MyISAM;
#
# Dumping data for table `shoutbox_swears`
#
but got this weird errors (always!):
Error
SQL-query :
CREATE TABLE shoutbox_swears( id int( 11 ) NOT NULL auto_increment,
orig varchar( 255 ) NOT NULL default '',
REPLACE varchar( 255 ) NOT NULL default '',
PRIMARY KEY ( id )
)
TYPE =
MYISAM
MySQL said:
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 'REPLACE varchar( 255 ) NOT NULL default '', PRIMARY KEY (does anyone know how to fix the table and can restore it successfully?thanks, need help asap.