Link to home
Start Free TrialLog in
Avatar of NoBoDyDD
NoBoDyDD

asked on

Convert Database Latin1 to Utf8

Hello ,

 I have database vBulletin , i wont to change it from latin1 to utf8
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

While you can easily change the "collation", that does Not change the actual characters.  And if you are having display problems, it will not change that.  That only changes things like how a table is sorted because 'latin' character set does not have all the characters at the same code points as UTF-8.  In general, changing an existing database that has been working is not a good idea.
Avatar of NoBoDyDD
NoBoDyDD

ASKER

hello ,

but i wont to change it ..
isee some command via ssh to convert it but it was unlikely
If you have phpMyAdmin available on that server, you can use it to change it.  However... each table and even each column can have the 'collation' declared separately.  You may also need 'root' access to change all of the tables.  Here http://dev.mysql.com/doc/refman/5.5/en/mysql.html is info on using the 'mysql' command line program.  And here is info on character sets and collations:  http://dev.mysql.com/doc/refman/5.5/en/globalization.html
ASKER CERTIFIED SOLUTION
Avatar of NoBoDyDD
NoBoDyDD

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I just did.  'mysql' is also a command line program that you can run thru an SSH connection.  If you are looking for a single command that will do what you want, it does not exist.  You have to go thru the databases and tables one by one and change them.
Hello ,

do u know any script do the convert automatic
or do u  know a export company
No, I don't.  I have never heard of anyone doing this because it causes too many problems.
hey again ,
i found this tool and it was a great
but i see blank page becasue my database size 7.1 Gb
he change every tables but not all of them
http://www.phoca.cz/download/category/17-phoca-changing-collation-tool
?
what u think ?
What ever works for you.  I don't have time to look at it.
worked