Solved

Moving databse via SSH, collation issues?

Posted on 2011-09-27
4
288 Views
Last Modified: 2012-05-12
Hi All,

I'm moving a Latin1 database to a new server but when used mysqldump via SSH there are a few problems with special characters like the "£" sign, quotes, dashes and double quotes.

Is there a way I could do do the MySQL dump while converting special characters to html entities or is there a way to make the changes before exporting the database via SSH?

Thank you
0
Comment
Question by:Mulith
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
ID: 36711478
How are you executing the mysqldump command, i.e. what arguments are you using?  you can use the --xml flag to output things in XML or you may want to pipe your output into a file (mysqldump [arguments] > $filename
0
 
LVL 1

Author Comment

by:Mulith
ID: 36713173
This is the statement structure I'm using:
 mysqldump -u username -p database_name > dumpfile.sql

Open in new window

0
 
LVL 1

Accepted Solution

by:
Mulith earned 0 total points
ID: 37671912
Solved this myself
0
 
LVL 1

Author Closing Comment

by:Mulith
ID: 37688580
Solved it myself but can't remember how.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question