T
terry
The following is a portion of my mysql script. When I run it, the line
INSERT INTO cat VALUES (16,'套餐',1);//error line
raises an error
outfile disabled
unknown command '\?
:
:
CREATE TABLE `cat`
(
`id` int unsigned NOT NULL auto_increment,
`name` text NOT NULL,
`catid` int,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
)
TYPE=MyISAM;
:
:
INSERT INTO cat VALUES (14,'炒飯',6);
INSERT INTO cat VALUES (16,'套餐',1);//error line
:
:
I have checked that the chinese character "餐" raise the error.
Do anyone know why and how to solve it?
INSERT INTO cat VALUES (16,'套餐',1);//error line
raises an error
outfile disabled
unknown command '\?
:
:
CREATE TABLE `cat`
(
`id` int unsigned NOT NULL auto_increment,
`name` text NOT NULL,
`catid` int,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
)
TYPE=MyISAM;
:
:
INSERT INTO cat VALUES (14,'炒飯',6);
INSERT INTO cat VALUES (16,'套餐',1);//error line
:
:
I have checked that the chinese character "餐" raise the error.
Do anyone know why and how to solve it?