MySQL Forums
Forum List  »  Backup

Dump a table with utf-8 data
Posted by: Eric Wong
Date: March 07, 2006 09:49PM

I use this command to dump the data of a table:

mysql -h <<host>> -u <<username>> -p<<pwd>> <<database>> -e "SELECT * from pub_area" > pub_area.bak

where the pub_area table contains utf-8 data

However, the utf-8 data becomes '?', how to deal with the character enoding problem during the dump operation and get the data right? Thanks.

Eric

Options: ReplyQuote


Subject
Views
Written By
Posted
Dump a table with utf-8 data
4394
March 07, 2006 09:49PM


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.