Solved

Moving databse via SSH, collation issues?

Posted on 2011-09-27
4
274 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

830 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