File .SQL set collation LATIN1 to UTF8.
Posted by: Andrews Dumith
Date: March 29, 2012 12:44PM

Hello everyone;

I´m using MYSQL-Server 5.5.20 running on Centos; I have develop a script to make backup of my databases but when the SQL file is done and I try to import again I get that the collation is set to latin1 instead of UTF8.

This is the command that I´m using:
mysqldump --skip-set-charset --default-character-set=UTF8 db_masterdb > db-test1-dump.sql

Do you have any idea to help me?

TIA....

Options: ReplyQuote


Subject
Views
Written By
Posted
File .SQL set collation LATIN1 to UTF8.
3851
March 29, 2012 12:44PM


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.