Solved

Convert Database Latin1 to Utf8

Posted on 2014-10-15
10
144 Views
Last Modified: 2014-10-24
Hello ,

 I have database vBulletin , i wont to change it from latin1 to utf8
0
Comment
Question by:NoBoDyDD
  • 5
  • 5
10 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40383108
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.
0
 

Author Comment

by:NoBoDyDD
ID: 40383151
hello ,

but i wont to change it ..
isee some command via ssh to convert it but it was unlikely
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40383185
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
0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 

Accepted Solution

by:
NoBoDyDD earned 0 total points
ID: 40383219
can u give a command to do it via ssh ^^
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40383258
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.
0
 

Author Comment

by:NoBoDyDD
ID: 40385836
Hello ,

do u know any script do the convert automatic
or do u  know a export company
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40385842
No, I don't.  I have never heard of anyone doing this because it causes too many problems.
0
 

Author Comment

by:NoBoDyDD
ID: 40385974
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 ?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40386016
What ever works for you.  I don't have time to look at it.
0
 

Author Closing Comment

by:NoBoDyDD
ID: 40401588
worked
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
join tables 4 57
PHP: Insert Data into MySQL 5 62
check mysql insert 12 43
Why is my $_POST not going to results page 10 41
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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