I use the mysqldump to make a backup of my database.
My database was destroyed by an accident and now I want to restore it.
But the SQL file is double encoded by bug#28969.
http://bugs.mysql.com/bug.php?id=28969
Is there any solution for my data to go back?
I only have the SQL file made by mysqldump.
Thanks.
I got my data back. Thanks everyone.
By this way,
1.import the messy data
2.use sqldump as ‘mysqldump -h “$DB_HOST -u “$DB_USER” -p”$DB_PASSWORD” –opt –quote-names –skip-set-charset –default-character-set=latin1 “$DB_NAME” > /tmp/temp.sql’
Reference
I got my data back. Thanks everyone.
By this way,
1.import the messy data
2.use sqldump as
mysqldump -h "$DB_HOST -u "$DB_USER" -p"$DB_PASSWORD" --opt --quote-names --skip-set-charset --default-character-set=latin1 "$DB_NAME" > /tmp/temp.sqlReference