cannot import data which contain unicode data into database
Posted by:
sophea mom
Date: March 20, 2011 11:59PM
Hello Everyone,
I want to import database from a text file that I exported from mysql database into an other database. The data contains unicode characters. If i import by using phpmyadmin, everything is fine; I can import it.
However, if i import by using command line, mysql>source fileName, it dose not work.it show this message:
ERROR 1064 (42000): 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 '
CREATE TABLE `khmer` (
`id` int(11) NOT NULL auto_increment,
`word` varc' at line 1
ERROR 1146 (42S02): Table 'test.khmer' doesn't exist
ERROR 1146 (42S02): Table 'test.khmer' doesn't exist
Anyone can help me,
Thanks in advance,
Subject
Views
Written By
Posted
cannot import data which contain unicode data into database
5196
March 20, 2011 11:59PM
2447
March 22, 2011 07:43AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.