Mulith
asked on
Moving databse via SSH, collation issues?
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
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
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
ASKER
This is the statement structure I'm using:
mysqldump -u username -p database_name > dumpfile.sql
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Solved it myself but can't remember how.